MLKitObjectDetection Framework Reference

  • MLKObjectDetectorMode defines the operational modes for an object detector.

  • MLKDetectedObjectLabel provides labels (as strings) for identified objects.

  • MLKDetectedObjectLabelIndex uses integers to represent the labels of detected objects.

Type Definitions

The following type definitions are available globally.

  • @enum ObjectDetectorMode Object detector modes.

    Declaration

    Objective-C

    typedef NSInteger MLKObjectDetectorMode
  • Labels of objects detected by the detector.

    Declaration

    Objective-C

    typedef NSString *MLKDetectedObjectLabel
  • Label indices of objects detected by the detector.

    Declaration

    Objective-C

    typedef NSInteger MLKDetectedObjectLabelIndex