FirebaseVisionObjectDetectorOptions.Builder

public static class FirebaseVisionObjectDetectorOptions.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 FirebaseVisionObjectDetectorOptions.Builder ()

Public Methods

public FirebaseVisionObjectDetectorOptions.Builder enableClassification ()

Enable on-device coarse classification. The classification categories are defined in FirebaseVisionObject.

By default, the coarse classification is off.

public FirebaseVisionObjectDetectorOptions.Builder enableMultipleObjects ()

Enable multiple objects for detection. The number of objects is no more than 5.

By default, it is prominent object only.

public FirebaseVisionObjectDetectorOptions.Builder setDetectorMode (int detectorMode)

Sets the FirebaseVisionObjectDetectorOptions.DetectorMode, which contains two modes, STREAM_MODE and SINGLE_IMAGE_MODE. For more details, please see comments for STREAM_MODE and SINGLE_IMAGE_MODE.

By default, it is STREAM_MODE.

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 16, 2023

Firebase ML lets you add powerful machine learning features to your app with ready-to-use APIs and support for custom model deployment.

Updated Feb 20, 2025

ML Kit for Firebase provided ready-to-use ML solutions for app developers. New apps should use the standalone ML Kit library for on-device ML and Firebase ML for cloud-based ML.

Updated Feb 21, 2025