MLKObject
@interface MLKObject : NSObject
在图片中检测到的对象。
-
矩形,用于存放检测到的对象(相对于视图的图片) 系统。
声明
Objective-C
@property (nonatomic, readonly) CGRect frame;
-
一组标签,用于描述检测器返回的对象。如果将 检测器选项“
shouldEnableClassification
”已设为“NO
”。声明
Objective-C
@property (nonatomic, readonly) NSArray<MLKObjectLabel *> *_Nonnull labels;
-
所检测到的对象的跟踪标识符。该值是非负
integerValue
。通过 如果未提供跟踪 ID,则值为nil
。声明
Objective-C
@property (nonatomic, readonly, nullable) NSNumber *trackingID;
-
不可用。
声明
Objective-C
- (nonnull instancetype)init;