MLKitObjectDetectionCommon Framework Reference

  • The CommonObjectDetectorOptions class provides shared configurations for all types of object detectors.

  • ObjectDetector is a class used to detect and track objects within an image.

  • Detected objects are represented by the Object class, containing information about their location and properties.

  • ObjectLabel provides descriptive labels for the objects identified in an image.

  • Developers can use these global classes to implement object detection and tracking features within their applications.

Classes

The following classes are available globally.

  • Common configurations shared by all types of object detectors.

    Declaration

    Swift

    class CommonObjectDetectorOptions : NSObject
  • An object detected in an image.

    Declaration

    Swift

    class Object : NSObject
  • An object detector and tracker that detects objects in an image and supports tracking them.

    Declaration

    Swift

    class ObjectDetector : NSObject
  • A label that describes an object detected in an image.

    Declaration

    Swift

    class ObjectLabel : NSObject