SegmentationProperty class

Processing properties for background images.

Annotations
  • @JsonSerializable.new(explicitToJson: true, includeIfNull: false)

Properties

greenCapacity → double?
Precision range for recognizing background color in the image. Value range is 0,1, default is 0.5. A larger value means a wider range of solid colors can be recognized. If the value is too large, solid colors within the portrait area or along its edges may also be recognized. You are advised to adjust this parameter dynamically based on the actual effect. This parameter takes effect only when modelType is set to segModelGreen.
final
hashCode → int
The hash code for this object.
no setterinherited
modelType → SegModelType?
Algorithm used for background processing. See SegModelType.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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