Builder of
FirebaseVisionObjectDetectorOptions.
| FirebaseVisionObjectDetectorOptions |
build()
Builds a
FirebaseVisionObjectDetectorOptions.
|
| FirebaseVisionObjectDetectorOptions.Builder |
enableClassification()
Enable on-device coarse classification.
|
| FirebaseVisionObjectDetectorOptions.Builder |
enableMultipleObjects()
Enable multiple objects for detection.
|
| FirebaseVisionObjectDetectorOptions.Builder |
setDetectorMode(int detectorMode)
Sets the
FirebaseVisionObjectDetectorOptions.DetectorMode, which contains two
modes,
STREAM_MODE and
SINGLE_IMAGE_MODE.
|
Builds a
FirebaseVisionObjectDetectorOptions.
Enable on-device coarse classification. The classification categories are defined in
FirebaseVisionObject.
By default, the coarse classification is off.
Enable multiple objects for detection. The number of objects is no more than 5.
By default, it is prominent object only.
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.