MLKitObjectDetectionCommon Framework Reference

  • ML Kit offers a variety of classes for object detection and tracking in images.

  • MLKObjectDetector is the primary class for detecting and tracking objects, while MLKCommonObjectDetectorOptions provides configuration settings.

  • Detected objects are represented by MLKObject , which contains information about the object's bounding box, labels, and tracking ID.

  • MLKObjectLabel provides 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 
     
    
Create a Mobile Website
View Site in Mobile | Classic
Share by: