AI-generated Key Takeaways
-
ObjectDetectorOptions
provides configurations for theObjectDetector
with a bundled classifier model. -
DetectedObject.Label
will contain a category fromPredefinedCategory
when using these options. -
DEFAULT_OPTIONS
offers a pre-built configuration equivalent to using a basicObjectDetectorOptions.Builder
. -
It inherits detection modes (single image or stream) from
ObjectDetectorOptionsBase
.
Options for ObjectDetector
with a predefined and bundled classifier model.
When using ObjectDetectorOptions
to create an ObjectDetector
,
each DetectedObject.Label
will have one of the categories in PredefinedCategory
as its text field.
Nested Class Summary
class | ObjectDetectorOptions.Builder | Builder of
ObjectDetectorOptions . |
Inherited Constant Summary
Field Summary
public static final ObjectDetectorOptions | DEFAULT_OPTIONS | The default
ObjectDetectorOptions . |
Inherited Method Summary
Fields
public static final ObjectDetectorOptions DEFAULT_OPTIONS
The default
ObjectDetectorOptions
.
This is equivalent to new ObjectDetectorOptions.Builder().build()
.