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 (readonly, copy, nonatomic) NSString *_Nonnull text;
-
Confidence for the label in range [0, 1]. The value is a
floatValue
.Declaration
Objective-C
@property (readonly, nonatomic, 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 (readonly, copy, nonatomic, nullable) NSString *entityID;
-
Unavailable.
Declaration
Objective-C
- (nonnull instancetype)init;