SegmentationProperty class

Processing properties for background images.

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

Properties

greenCapacity double?
The accuracy range for recognizing background colors in the image. The value range is 0,1, and the default value is 0.5. The larger the value, the wider the range of identifiable shades of pure color. When the value of this parameter is too large, the edge of the portrait and the pure color in the portrait range are also detected. Agora recommends that you dynamically adjust the value of this parameter according to the actual effect. This parameter only takes effect when modelType is set to segModelGreen.
final
hashCode int
The hash code for this object.
no setterinherited
modelType SegModelType?
The type of algorithms to user 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