SegmenterConfig class
Configuration options for the segmenter.
Constructors
- SegmenterConfig({bool streamMode = true, bool enableRawSizeMask = true, int modelSelection = 1, double confidenceThreshold = 0.5})
-
const
Properties
- confidenceThreshold → double
-
Confidence threshold for person detection (0.0 - 1.0).
final
- enableRawSizeMask → bool
-
Whether to enable raw size mask (matching input dimensions).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- modelSelection → int
-
Model selection: 0 = general, 1 = landscape (faster, like React's modelSelection).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streamMode → bool
-
Whether to use stream mode (optimized for video) vs single image mode.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- reactDefault → const SegmenterConfig
- React-equivalent default settings.