FirebaseVisionImageLabel

public class FirebaseVisionImageLabel extends Object

Represents an image label detected by FirebaseVisionImageLabeler.

Public Method Summary

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

Inherited Method Summary

Public Methods

public boolean equals (Object o)

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 getText ()

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.

public int hashCode ()