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.