Agora Java API Reference for Android
|
Public Member Functions | |
SegmentationProperty (int modelType, float greenCapacity) | |
Public Attributes | |
int | modelType |
float | greenCapacity |
Static Public Attributes | |
static final int | SEG_MODEL_AI = 1 |
static final int | SEG_MODEL_GREEN = 2 |
Background substitude meta data.
int io.agora.rtc2.video.SegmentationProperty.modelType |
The source type used to substitude capture image background. {backgroundSourceType}: BACKGROUND_NONE(0): background is none. BACKGROUND_COLOR(1): (default) background is color. {BACKGROUND_IMG(2)}: background is image. model type ai or green
float io.agora.rtc2.video.SegmentationProperty.greenCapacity |
greenscreen open