ObjectDetectorOptions class
Options to configure the detector while using with base model.
- Implementers
Constructors
- ObjectDetectorOptions({required DetectionMode mode, required bool classifyObjects, required bool multipleObjects})
- Constructor to create an instance of ObjectDetectorOptions.
Properties
- classifyObjects → bool
-
Indicates whether the object classification feature is enabled.
The default value is false.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mode → DetectionMode
-
Determines the detection mode.
The default value is DetectionMode.stream.
final
- multipleObjects → bool
-
Indicates whether all detected objects in the image or frame should be returned by the detector.
If set to false, the detector returns only the most prominent object detected.
The default value is false
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → ObjectDetectorType
-
Indicates that it uses Google's base model to process images.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Returns a json representation of an instance of ObjectDetectorOptions.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited