FIRVisionCloudLandmark
@interface FIRVisionCloudLandmark : NSObject
Set of landmark properties identified by a vision cloud detector.
-
Opaque entity ID. Some IDs may be available in Google Knowledge Graph Search API.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *entityId;
-
Textual description of the landmark.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *landmark;
-
Overall confidence of the result. The value is float, in range [0, 1].
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSNumber *confidence;
-
A rectangle image region to which this landmark belongs to (in the view coordinate system).
Declaration
Objective-C
@property (nonatomic, readonly) CGRect frame;
-
The location information for the detected landmark. Multiple LocationInfo elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<FIRVisionLatitudeLongitude *> *locations;
-
Unavailable.
Declaration
Objective-C
- (nonnull instancetype)init;