SegmentationProperty
- Flutter
更新时间不可用
背景图像的处理属性。
class SegmentationProperty implements AgoraSerializable {
const SegmentationProperty(
{this.modelType, this.greenCapacity, this.screenColorType});
@JsonKey(name: 'modelType')
final SegModelType? modelType;
@JsonKey(name: 'greenCapacity')
final double? greenCapacity;
@JsonKey(name: 'screenColorType')
final ScreenColorType? screenColorType;
factory SegmentationProperty.fromJson(Map<String, dynamic> json) =>
_$SegmentationPropertyFromJson(json);
@override
Map<String, dynamic> toJson() => _$SegmentationPropertyToJson(this);
}属性
| 参数名 | 描述 |
|---|---|
modelType | 进行背景处理的算法。详见 SegModelType。 |
greenCapacity | |
screenColorType | 屏幕颜色类型。详见 ScreenColorType。 |