MLKitVision Framework Reference

  • The GMLImage class represents an image for on-device machine learning.

  • The MLKVision3DPoint and MLKVisionPoint classes define points within an image, with the former representing 3D points.

  • The MLKVisionImage class encapsulates an image or image buffer used for vision detection tasks.

Classes

The following classes are available globally.

  • An image used in on-device machine learning.

    Declaration

    Objective-C

    
    @interface GMLImage : NSObject
  • A three-dimensional point in an image. The point’s coordinates have the same scale as the original image.

    Declaration

    Objective-C

    
    @interface MLKVision3DPoint : MLKVisionPoint
  • An image or image buffer used for vision detection.

    Declaration

    Objective-C

    
    @interface MLKVisionImage : NSObject <MLKCompatibleImage>
  • A point in an image. The point’s coordinates have the same scale as the original image.

    Declaration

    Objective-C

    
    @interface MLKVisionPoint : NSObject