FirebaseVisionCloudImageLabelerOptions

public class FirebaseVisionCloudImageLabelerOptions extends Object

Options for cloud image labeler. Confidence threshold could be provided for the label detection.

For example, if the confidence threshold is set to 0.7, only labels with confidence >= 0.7 would be returned. The default threshold is 0.5.

Note: at most 20 labels will be returned for cloud image labeler.

Nested Class Summary

Public Method Summary

boolean
float
getConfidenceThreshold()
Gets the confidence threshold of labels to be detected.
int
boolean
isEnforceCertFingerprintMatch()
Checks if Cloud Vision API can only be used by registered application instances with matching certificate fingerprint.

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 boolean equals (Object o)

public float getConfidenceThreshold ()

Gets the confidence threshold of labels to be detected.

public int hashCode ()

public boolean isEnforceCertFingerprintMatch ()

Checks if Cloud Vision API can only be used by registered application instances with matching certificate fingerprint.

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated Aug 14, 2020

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated Feb 6, 2024

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated Aug 8, 2020