MLKImageLabel
@interface MLKImageLabel : NSObject
이미지의 라벨을 나타냅니다.
-
분류 기준 모델에서 반환한 라벨의 텍스트입니다.
선언
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull text;
-
라벨의 색인입니다.
선언
Objective-C
@property (nonatomic, readonly) NSInteger index;
-
라벨의 신뢰도입니다. 범위는 사용되는 분류 기준 모델에 따라 다르지만 규칙에 따라 [0, 1]이어야 합니다.
ImageLabelerOptions
로 만든ImageLabeler
의 경우 범위는 [0, 1]입니다.선언
Objective-C
@property (nonatomic, readonly) float confidence;
-
사용할 수 없습니다.
선언
Objective-C
- (nonnull instancetype)init;