|
Agora Java API Reference for Android
|
Processing properties for background images. More...
#include <AgoraBase.h>
Public Types | |
| enum | SEG_MODEL_TYPE { SEG_MODEL_AI = 1, SEG_MODEL_GREEN = 2 } |
| The type of algorithms to user for background processing. More... | |
| enum | SCREEN_COLOR_TYPE { SCREEN_COLOR_AUTO = 0, SCREEN_COLOR_GREEN = 1, SCREEN_COLOR_BLUE = 2 } |
| Screen color type. More... | |
Public Attributes | |
| SEG_MODEL_TYPE | modelType |
| float | greenCapacity |
| SCREEN_COLOR_TYPE | screenColorType |
Processing properties for background images.
| SEG_MODEL_TYPE agora::rtc::SegmentationProperty::modelType |
The type of algorithms to user for background processing. See SEG_MODEL_TYPE.
| float agora::rtc::SegmentationProperty::greenCapacity |
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.
modelType is set to SEG_MODEL_GREEN. | SCREEN_COLOR_TYPE agora::rtc::SegmentationProperty::screenColorType |
The screen color. See SCREEN_COLOR_TYPE.
1.8.18