MLImageSegmentationAnalyzerSetting class

Constructors

MLImageSegmentationAnalyzerSetting.create({required String path, int? analyzerType, int? scene, bool? exactMode})
factory

Properties

analyzerType int?
final
exactMode bool?
final
hashCode int
The hash code for this object.
no setterinherited
path String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scene int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

ALL → const int
Obtains all segmentation results by default.
BODY_SEG → const int
Detection mode 0: detection based on the portrait model
FOREGROUND_ONLY → const int
Obtains the human body image with a transparent background.
GRAYSCALE_ONLY → const int
Obtains the gray-scale image with a white human body and black background.
HAIR_SEG → const int
Detection mode 2: detection based on the hair model
IMAGE_SEG → const int
Detection mode 1: detection based on the multi class image mode
MASK_ONLY → const int
Obtains the pixel-level label information.