FirebaseVisionOnDeviceImageLabelerOptions.Builder

public static class FirebaseVisionOnDeviceImageLabelerOptions.Builder extends Object

Public Constructor Summary

Public Method Summary

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 Constructors

public FirebaseVisionOnDeviceImageLabelerOptions.Builder ()

Public Methods

public FirebaseVisionOnDeviceImageLabelerOptions.Builder setConfidenceThreshold (float confidenceThreshold)

Sets confidence threshold of detected labels. Only labels detected with confidence higher than this threshold are returned.

Default is 0.5.

Throws
IllegalArgumentException if the confidenceThreshold is out of the range [0.0f, 1.0f].

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

Updated Jun 17, 2021

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

Updated Jan 22, 2025

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

Updated Jul 12, 2023