Jump to top

VisionLandmark

interface

Represents a detected landmark returned from cloudLandmarkRecognizerProcessImage().

Properties

boundingBox

</>

Gets image region of the detected landmark. Returns null if nothing was detected

boundingBox: VisionRectangle | null;

confidence

</>

Gets overall confidence of the result. Ranging between 0 & 1.

confidence: number;

entityId

</>

Gets opaque entity ID. Some IDs may be available in Google Knowledge Graph Search API.

entityId: string;

landmark

</>

Gets the detected landmark.

landmark: string;

locations

</>

Gets the location information for the detected entity.

locations: VisionGeoPoint[];