Class VNCoreMLRequest

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class VNCoreMLRequest
extends VNImageBasedRequest
Since:
Available in iOS 11.0 and later.
  • Field Details

  • Constructor Details

  • Method Details

    • getModel

      public VNCoreMLModel getModel()
    • getImageCropAndScaleOption

      public VNImageCropAndScaleOption getImageCropAndScaleOption()
    • setImageCropAndScaleOption

      public void setImageCropAndScaleOption​(VNImageCropAndScaleOption v)
    • getSupportedRevisions

      public static NSIndexSet getSupportedRevisions()
      Since:
      Available in iOS 12.0 and later.
    • getDefaultRevision

      public static long getDefaultRevision()
      Since:
      Available in iOS 12.0 and later.
    • getCurrentRevision

      public static long getCurrentRevision()
      Since:
      Available in iOS 12.0 and later.
    • init

      protected long init​(VNCoreMLModel model)
    • init

      protected long init​(VNCoreMLModel model, VoidBlock2<VNRequest,​NSError> completionHandler)