FirebaseMLVision Framework Reference

VisionCloudLandmark

class VisionCloudLandmark : 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

    Swift

    var entityId: String? { get }
  • Textual description of the landmark.

    Declaration

    Swift

    var landmark: String? { get }
  • Overall confidence of the result. The value is float, in range [0, 1].

    Declaration

    Swift

    var confidence: NSNumber? { get }
  • A rectangle image region to which this landmark belongs to (in the view coordinate system).

    Declaration

    Swift

    var frame: CGRect { get }
  • 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

    Swift

    var locations: [FIRVisionLatitudeLongitude]? { get }
  • Unavailable.