FIRVisionImageLabel
@interface FIRVisionImageLabel : NSObject
Represents a label for an image.
-
The human readable label text in American English. For example: “Balloon”.
This string is not fit for display purposes, as it is not localized. Use the
entityID
and query the Knowledge Graph to get a localized description of the label text.Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull text;
-
Confidence for the label in range [0, 1]. The value is a
floatValue
.Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSNumber *confidence;
-
Opaque entity ID used to query the Knowledge Graph to get a localized description of the label text. Some IDs may be available in Google Knowledge Graph Search API.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *entityID;
-
Unavailable.
Declaration
Objective-C
- (nonnull instancetype)init;