Page Summary
-
ML Kit offers a variety of classes for object detection and tracking in images.
-
MLKObjectDetectoris the primary class for detecting and tracking objects, whileMLKCommonObjectDetectorOptionsprovides configuration settings. -
Detected objects are represented by
MLKObject, which contains information about the object's bounding box, labels, and tracking ID. -
MLKObjectLabelprovides descriptive labels for detected objects, such as their category or confidence score.
Classes
The following classes are available globally.
-
Common configurations shared by all types of object detectors.
Declaration
Objective-C
@interface MLKCommonObjectDetectorOptions : NSObject -
An object detected in an image.
Declaration
Objective-C
@interface MLKObject : NSObject -
An object detector and tracker that detects objects in an image and supports tracking them.
Declaration
Objective-C
@interface MLKObjectDetector : NSObject -
A label that describes an object detected in an image.
Declaration
Objective-C
@interface MLKObjectLabel : NSObject


