常量
以下常量可在全局范围内使用。
-
在单图片模式下,当跟踪器和检测器都完成时,系统会返回结果。
声明
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