MLKitObjectDetection 框架参考

类型定义

以下类型定义可在全局范围内使用。

  • @enum ObjectDetectorMode 对象检测器模式。

    声明

    Objective-C

    typedef NSInteger MLKObjectDetectorMode
  • 检测器检测到的对象的标签。

    声明

    Objective-C

    typedef NSString *MLKDetectedObjectLabel
  • 检测器检测到的对象的标签索引。

    声明

    Objective-C

    typedef NSInteger MLKDetectedObjectLabelIndex