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 (readonly, copy, nonatomic, nullable) NSString *entityId;
  • Textual description of the landmark.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *landmark;
  • Overall confidence of the result. The value is float, in range [0, 1].

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSNumber *confidence;
  • A rectangle image region to which this landmark belongs to (in the view coordinate system).

    Declaration

    Objective-C

    @property (readonly, nonatomic) 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 (readonly, nonatomic, nullable)
        NSArray<FIRVisionLatitudeLongitude *> *locations;
  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;