MobileSegmenter class
Mobile/Desktop segmenter - Native MediaPipe on iOS, Vision on macOS, ONNX on Windows, stub on Android
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isReady → bool
-
Whether the segmenter is initialized and ready.
no setteroverride
- isSupported → bool
-
Whether this platform actually supports segmentation.
no setteroverride
- platformName → String
-
Platform-specific identifier (for debugging/logging).
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → Future< void> -
Release all resources.
override
-
initialize(
[SegmenterConfig config = const SegmenterConfig()]) → Future< void> -
Initialize the segmenter with optional configuration.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processFile(
String filePath, Uint8List frameData, SegmenterInputMetadata metadata) → Future< SegmentationResult> -
Process an image file and return segmentation result.
override
-
processFrame(
Uint8List frameData, SegmenterInputMetadata metadata) → Future< SegmentationResult> -
Process a single frame and return segmentation result.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited