# AgoraSegmentationProperty (/zh-CN/api-reference/rtc/macos/class-segmentationproperty) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ```objc __attribute__((visibility("default"))) @interface AgoraSegmentationProperty: NSObject @property(nonatomic, assign) SegModelType modelType; @property(nonatomic, assign) float greenCapacity; @property(nonatomic, assign) ScreenColorType screenColorType; @end ``` ## 属性 [#属性] 用于背景处理的算法类型。详见 [SegModelType](/zh-CN/api-reference/rtc/macos/enum-segmodeltype)。 识别图像中背景纯色的精度范围。取值范围为 [0,1],默认值为 0.5。值越大,可识别的纯色色阶范围越广。当该值过大时,可能会将人物边缘或人物区域内的纯色误识别为背景。声网建议你根据实际效果动态调整该参数的值。 :::note 注: 仅当 `modelType` 设置为 `SegModelAgoraGreen` 时该参数才生效。 ::: 屏幕颜色类型。详见 [ScreenColorType](/zh-CN/api-reference/rtc/macos/enum-screencolortype)。