Represents a detected landmark by
FirebaseVisionCloudLandmark
.
Public Method Summary
Rect |
getBoundingBox()
Gets image region of the detected landmark.
|
float |
getConfidence()
Gets overall confidence of the result.
|
String |
getEntityId()
Gets opaque entity ID.
|
String |
getLandmark()
Gets the detected landmark.
|
List<FirebaseVisionLatLng> |
getLocations()
Gets the location information for the detected entity.
|
Inherited Method Summary
Public Methods
public Rect getBoundingBox ()
Gets image region of the detected landmark. Returns null if nothing was detected.
public float getConfidence ()
Gets overall confidence of the result. Range [0.0f, 1.0f].
public String getEntityId ()
Gets opaque entity ID. Some IDs may be available in Google Knowledge Graph Search API
public String getLandmark ()
Gets the detected landmark.
public List<FirebaseVisionLatLng> getLocations ()
Gets the location information for the detected entity. Multiple
FirebaseVisionLatLng
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. Location information is usually
present for landmarks.