FirebaseVisionOnDeviceImageLabelerOptions

public class FirebaseVisionOnDeviceImageLabelerOptions extends Object

This class is deprecated.
The standalone ML Kit SDK replaces this API. For more information, refer to the migration guide.

Options for on device 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.

Nested Class Summary

Public Method Summary

boolean
float
getConfidenceThreshold()
Gets the confidence threshold of labels to be detected.
int

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

The Admin SDK lets you interact with Firebase from your server environment to perform actions like generating and verifying Firebase auth tokens, reading and writing to Realtime Database, and so on.

Updated Apr 16, 2024

Reference for OnDisconnect

Updated Jul 27, 2022

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

Updated Nov 22, 2023