ObjectDetectorOptions

public class ObjectDetectorOptions extends 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().