FirebaseVisionCloudLandmark

public class FirebaseVisionCloudLandmark extends Object

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

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

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.

Developer documentation for Firebase

อัปเดตแล้ว Feb 28, 2025

Get help quickly with Firebase support. Read our FAQs, Release notes, and guides, ask the community, then get direct support from the Firebase team.

อัปเดตแล้ว Oct 3, 2024

ดูแนวทางปฏิบัติแนะนำเหล่านี้เพื่อช่วยให้คุณเข้าใจค่าใช้จ่ายและวิธีหลีกเลี่ยงการเรียกเก็บเงินที่ไม่คาดคิดในระหว่างการพัฒนาและแอปเวอร์ชันที่ใช้งานจริง

อัปเดตแล้ว Feb 28, 2025