FirebaseVisionLabel

public class FirebaseVisionLabel extends Object

Represents an image label detected by FirebaseVisionLabelDetector.

Public Method Summary

float
getConfidence()
Gets overall confidence of the result.
String
getEntityId()
Gets opaque entity ID.
String
getLabel()
Gets a detected label from the given image.

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 float getConfidence ()

Gets overall confidence of the result. Range [0.0f, 1.0f].

public String getEntityId ()

Gets opaque entity ID. IDs are available in Google Knowledge Graph Search API

public String getLabel ()

Gets a detected label from the given image. The label returned here is in English only. The end developer should use getEntityId() to retrieve unique id.

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

有了 Stripe 和 Firebase,你不必建立自己的伺服器基礎架構,就能在應用程式中處理付款。

更新時間:Feb 28, 2025

Reference for PhoneAuthProvider

更新時間:Jul 27, 2022