\hypertarget{structagora_1_1rtc_1_1_segmentation_property}{}\doxysection{agora\+::rtc\+::Segmentation\+Property Struct Reference}
\label{structagora_1_1rtc_1_1_segmentation_property}\index{agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}}


Processing properties for background images.  




{\ttfamily \#include $<$Agora\+Base.\+h$>$}

\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{structagora_1_1rtc_1_1_segmentation_property_a416344b41cefcd9fd44e744b20ada673}{S\+E\+G\+\_\+\+M\+O\+D\+E\+L\+\_\+\+T\+Y\+PE}} \{ \mbox{\hyperlink{structagora_1_1rtc_1_1_segmentation_property_a416344b41cefcd9fd44e744b20ada673a49bbf9c35052ba6b0ccd26ac26650a47}{S\+E\+G\+\_\+\+M\+O\+D\+E\+L\+\_\+\+AI}} = 1, 
\mbox{\hyperlink{structagora_1_1rtc_1_1_segmentation_property_a416344b41cefcd9fd44e744b20ada673aaf7794a39e50c1899122db6539be985b}{S\+E\+G\+\_\+\+M\+O\+D\+E\+L\+\_\+\+G\+R\+E\+EN}} = 2
 \}
\begin{DoxyCompactList}\small\item\em The type of algorithms to user for background processing. \end{DoxyCompactList}\item 
enum \mbox{\hyperlink{structagora_1_1rtc_1_1_segmentation_property_aee1fc194b52b0ff4fe45e6efa9377b41}{S\+C\+R\+E\+E\+N\+\_\+\+C\+O\+L\+O\+R\+\_\+\+T\+Y\+PE}} \{ \mbox{\hyperlink{structagora_1_1rtc_1_1_segmentation_property_aee1fc194b52b0ff4fe45e6efa9377b41ab2ff8513701056d86a71cd5aa093b75e}{S\+C\+R\+E\+E\+N\+\_\+\+C\+O\+L\+O\+R\+\_\+\+A\+U\+TO}} = 0, 
\mbox{\hyperlink{structagora_1_1rtc_1_1_segmentation_property_aee1fc194b52b0ff4fe45e6efa9377b41a7dfaf2b5e58d94e3436f139c0843e090}{S\+C\+R\+E\+E\+N\+\_\+\+C\+O\+L\+O\+R\+\_\+\+G\+R\+E\+EN}} = 1, 
\mbox{\hyperlink{structagora_1_1rtc_1_1_segmentation_property_aee1fc194b52b0ff4fe45e6efa9377b41aff0c7570a46a67a452a033085c976489}{S\+C\+R\+E\+E\+N\+\_\+\+C\+O\+L\+O\+R\+\_\+\+B\+L\+UE}} = 2
 \}
\begin{DoxyCompactList}\small\item\em Screen color type. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{structagora_1_1rtc_1_1_segmentation_property_a416344b41cefcd9fd44e744b20ada673}{S\+E\+G\+\_\+\+M\+O\+D\+E\+L\+\_\+\+T\+Y\+PE}} \mbox{\hyperlink{structagora_1_1rtc_1_1_segmentation_property_af55b9c78f1dcb103b491cf9e519ddd6a}{model\+Type}}
\item 
float \mbox{\hyperlink{structagora_1_1rtc_1_1_segmentation_property_a6edb0b1eb83b44ba9c04373663564f6f}{green\+Capacity}}
\item 
\mbox{\hyperlink{structagora_1_1rtc_1_1_segmentation_property_aee1fc194b52b0ff4fe45e6efa9377b41}{S\+C\+R\+E\+E\+N\+\_\+\+C\+O\+L\+O\+R\+\_\+\+T\+Y\+PE}} \mbox{\hyperlink{structagora_1_1rtc_1_1_segmentation_property_a132c5fe03d9698c9be760f5976c5535e}{screen\+Color\+Type}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Processing properties for background images. 

\doxysubsection{Member Enumeration Documentation}
\mbox{\Hypertarget{structagora_1_1rtc_1_1_segmentation_property_a416344b41cefcd9fd44e744b20ada673}\label{structagora_1_1rtc_1_1_segmentation_property_a416344b41cefcd9fd44e744b20ada673}} 
\index{agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}!SEG\_MODEL\_TYPE@{SEG\_MODEL\_TYPE}}
\index{SEG\_MODEL\_TYPE@{SEG\_MODEL\_TYPE}!agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}}
\doxysubsubsection{\texorpdfstring{SEG\_MODEL\_TYPE}{SEG\_MODEL\_TYPE}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{structagora_1_1rtc_1_1_segmentation_property_a416344b41cefcd9fd44e744b20ada673}{agora\+::rtc\+::\+Segmentation\+Property\+::\+S\+E\+G\+\_\+\+M\+O\+D\+E\+L\+\_\+\+T\+Y\+PE}}}



The type of algorithms to user for background processing. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{SEG\_MODEL\_AI@{SEG\_MODEL\_AI}!agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}}\index{agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}!SEG\_MODEL\_AI@{SEG\_MODEL\_AI}}}\mbox{\Hypertarget{structagora_1_1rtc_1_1_segmentation_property_a416344b41cefcd9fd44e744b20ada673a49bbf9c35052ba6b0ccd26ac26650a47}\label{structagora_1_1rtc_1_1_segmentation_property_a416344b41cefcd9fd44e744b20ada673a49bbf9c35052ba6b0ccd26ac26650a47}} 
S\+E\+G\+\_\+\+M\+O\+D\+E\+L\+\_\+\+AI&1\+: (Default) Use the algorithm suitable for all scenarios. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{SEG\_MODEL\_GREEN@{SEG\_MODEL\_GREEN}!agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}}\index{agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}!SEG\_MODEL\_GREEN@{SEG\_MODEL\_GREEN}}}\mbox{\Hypertarget{structagora_1_1rtc_1_1_segmentation_property_a416344b41cefcd9fd44e744b20ada673aaf7794a39e50c1899122db6539be985b}\label{structagora_1_1rtc_1_1_segmentation_property_a416344b41cefcd9fd44e744b20ada673aaf7794a39e50c1899122db6539be985b}} 
S\+E\+G\+\_\+\+M\+O\+D\+E\+L\+\_\+\+G\+R\+E\+EN&2\+: Use the algorithm designed specifically for scenarios with a green screen background. \\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{structagora_1_1rtc_1_1_segmentation_property_aee1fc194b52b0ff4fe45e6efa9377b41}\label{structagora_1_1rtc_1_1_segmentation_property_aee1fc194b52b0ff4fe45e6efa9377b41}} 
\index{agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}!SCREEN\_COLOR\_TYPE@{SCREEN\_COLOR\_TYPE}}
\index{SCREEN\_COLOR\_TYPE@{SCREEN\_COLOR\_TYPE}!agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}}
\doxysubsubsection{\texorpdfstring{SCREEN\_COLOR\_TYPE}{SCREEN\_COLOR\_TYPE}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{structagora_1_1rtc_1_1_segmentation_property_aee1fc194b52b0ff4fe45e6efa9377b41}{agora\+::rtc\+::\+Segmentation\+Property\+::\+S\+C\+R\+E\+E\+N\+\_\+\+C\+O\+L\+O\+R\+\_\+\+T\+Y\+PE}}}



Screen color type. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{SCREEN\_COLOR\_AUTO@{SCREEN\_COLOR\_AUTO}!agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}}\index{agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}!SCREEN\_COLOR\_AUTO@{SCREEN\_COLOR\_AUTO}}}\mbox{\Hypertarget{structagora_1_1rtc_1_1_segmentation_property_aee1fc194b52b0ff4fe45e6efa9377b41ab2ff8513701056d86a71cd5aa093b75e}\label{structagora_1_1rtc_1_1_segmentation_property_aee1fc194b52b0ff4fe45e6efa9377b41ab2ff8513701056d86a71cd5aa093b75e}} 
S\+C\+R\+E\+E\+N\+\_\+\+C\+O\+L\+O\+R\+\_\+\+A\+U\+TO&(0)\+: Automatically selects screen color. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{SCREEN\_COLOR\_GREEN@{SCREEN\_COLOR\_GREEN}!agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}}\index{agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}!SCREEN\_COLOR\_GREEN@{SCREEN\_COLOR\_GREEN}}}\mbox{\Hypertarget{structagora_1_1rtc_1_1_segmentation_property_aee1fc194b52b0ff4fe45e6efa9377b41a7dfaf2b5e58d94e3436f139c0843e090}\label{structagora_1_1rtc_1_1_segmentation_property_aee1fc194b52b0ff4fe45e6efa9377b41a7dfaf2b5e58d94e3436f139c0843e090}} 
S\+C\+R\+E\+E\+N\+\_\+\+C\+O\+L\+O\+R\+\_\+\+G\+R\+E\+EN&(1)\+: Green screen. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{SCREEN\_COLOR\_BLUE@{SCREEN\_COLOR\_BLUE}!agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}}\index{agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}!SCREEN\_COLOR\_BLUE@{SCREEN\_COLOR\_BLUE}}}\mbox{\Hypertarget{structagora_1_1rtc_1_1_segmentation_property_aee1fc194b52b0ff4fe45e6efa9377b41aff0c7570a46a67a452a033085c976489}\label{structagora_1_1rtc_1_1_segmentation_property_aee1fc194b52b0ff4fe45e6efa9377b41aff0c7570a46a67a452a033085c976489}} 
S\+C\+R\+E\+E\+N\+\_\+\+C\+O\+L\+O\+R\+\_\+\+B\+L\+UE&(2)\+: Blue screen. \\
\hline

\end{DoxyEnumFields}


\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{structagora_1_1rtc_1_1_segmentation_property_af55b9c78f1dcb103b491cf9e519ddd6a}\label{structagora_1_1rtc_1_1_segmentation_property_af55b9c78f1dcb103b491cf9e519ddd6a}} 
\index{agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}!modelType@{modelType}}
\index{modelType@{modelType}!agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}}
\doxysubsubsection{\texorpdfstring{modelType}{modelType}}
{\footnotesize\ttfamily \mbox{\hyperlink{structagora_1_1rtc_1_1_segmentation_property_a416344b41cefcd9fd44e744b20ada673}{S\+E\+G\+\_\+\+M\+O\+D\+E\+L\+\_\+\+T\+Y\+PE}} agora\+::rtc\+::\+Segmentation\+Property\+::model\+Type}

The type of algorithms to user for background processing. See {\ttfamily S\+E\+G\+\_\+\+M\+O\+D\+E\+L\+\_\+\+T\+Y\+PE}. \mbox{\Hypertarget{structagora_1_1rtc_1_1_segmentation_property_a6edb0b1eb83b44ba9c04373663564f6f}\label{structagora_1_1rtc_1_1_segmentation_property_a6edb0b1eb83b44ba9c04373663564f6f}} 
\index{agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}!greenCapacity@{greenCapacity}}
\index{greenCapacity@{greenCapacity}!agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}}
\doxysubsubsection{\texorpdfstring{greenCapacity}{greenCapacity}}
{\footnotesize\ttfamily float agora\+::rtc\+::\+Segmentation\+Property\+::green\+Capacity}

The accuracy range for recognizing background colors in the image. The value range is \mbox{[}0,1\mbox{]}, 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. \begin{DoxyNote}{Note}
This parameter only takes effect when {\ttfamily model\+Type} is set to {\ttfamily S\+E\+G\+\_\+\+M\+O\+D\+E\+L\+\_\+\+G\+R\+E\+EN}. 
\end{DoxyNote}
\mbox{\Hypertarget{structagora_1_1rtc_1_1_segmentation_property_a132c5fe03d9698c9be760f5976c5535e}\label{structagora_1_1rtc_1_1_segmentation_property_a132c5fe03d9698c9be760f5976c5535e}} 
\index{agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}!screenColorType@{screenColorType}}
\index{screenColorType@{screenColorType}!agora::rtc::SegmentationProperty@{agora::rtc::SegmentationProperty}}
\doxysubsubsection{\texorpdfstring{screenColorType}{screenColorType}}
{\footnotesize\ttfamily \mbox{\hyperlink{structagora_1_1rtc_1_1_segmentation_property_aee1fc194b52b0ff4fe45e6efa9377b41}{S\+C\+R\+E\+E\+N\+\_\+\+C\+O\+L\+O\+R\+\_\+\+T\+Y\+PE}} agora\+::rtc\+::\+Segmentation\+Property\+::screen\+Color\+Type}

The screen color. See {\ttfamily S\+C\+R\+E\+E\+N\+\_\+\+C\+O\+L\+O\+R\+\_\+\+T\+Y\+PE}. 