常量
以下常量可在全局范围内使用。
-
在单图片模式下,系统会在跟踪器和检测器完成后返回结果。
声明
Objective-C
static const MLKObjectDetectorMode MLKObjectDetectorModeSingleImage = 0
-
在流式传输模式下,跟踪器和检测器会并行运行。跟踪器处理完成后,将返回这些结果。检测阶段可能仍在进行中。
声明
Objective-C
static const MLKObjectDetectorMode MLKObjectDetectorModeStream = 1
-
时尚良好的对象标签。
声明
Objective-C
extern const MLKDetectedObjectLabel _Nonnull MLKDetectedObjectLabelFashionGood
-
家居良好对象标签。
声明
Objective-C
extern const MLKDetectedObjectLabel _Nonnull MLKDetectedObjectLabelHomeGood
-
食物对象标签。
声明
Objective-C
extern const MLKDetectedObjectLabel _Nonnull MLKDetectedObjectLabelFood
-
地点对象标签。
声明
Objective-C
extern const MLKDetectedObjectLabel _Nonnull MLKDetectedObjectLabelPlace
-
植物对象标签。
声明
Objective-C
extern const MLKDetectedObjectLabel _Nonnull MLKDetectedObjectLabelPlant
-
时尚良好的对象标签。
声明
Objective-C
static const MLKDetectedObjectLabelIndex MLKDetectedObjectLabelIndexFashionGood = 0
-
家居良好对象标签。
声明
Objective-C
static const MLKDetectedObjectLabelIndex MLKDetectedObjectLabelIndexHomeGood = 1
-
食物对象标签。
声明
Objective-C
static const MLKDetectedObjectLabelIndex MLKDetectedObjectLabelIndexFood = 2
-
地点对象标签。
声明
Objective-C
static const MLKDetectedObjectLabelIndex MLKDetectedObjectLabelIndexPlace = 3
-
植物对象标签。
声明
Objective-C
static const MLKDetectedObjectLabelIndex MLKDetectedObjectLabelIndexPlant = 4