# qtimlvdetection

Source: [https://docs.qualcomm.com/doc/80-70022-50SC/topic/qtimlvdetection.html](https://docs.qualcomm.com/doc/80-70022-50SC/topic/qtimlvdetection.html)

qtimlvdetection 插件将来自 ML 推理插件（例如 qtimltflite、qtimlsnpe 和 qtimlqnn）的目标检测模型的输出张量处理为预测结果。

Note: 此插件将被弃用。

Figure : 使用 qtimlvdetection 的 GstBuffer 工作流
            
            <!--?xml version="1.0" encoding="UTF-8" standalone="no"?-->

<!-- Generated by Microsoft Visio, SVG Export gstbuffer_workflow_qtimlvdetection.svg gstbuffer_workflow_qtimlvdetect -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="11.3372in" height="5.39154in" viewbox="0 0 816.276 388.191" xml:space="preserve" color-interpolation-filters="sRGB" class="st22"><v:documentproperties v:langid="1033" v:viewmarkup="false"></v:documentproperties>
<style>.svg-1 .st1 { fill: #fafafa; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st2 { fill: #d2d7e1; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st3 { fill: none; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st4 { fill: #ffffff; font-family: Roboto; font-size: 1.00001em; font-weight: bold; letter-spacing: -0.00833327em }
.svg-1 .st5 { stroke: #000000; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st6 { fill: #007884; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st7 { fill: #ffffff; font-family: Roboto; font-size: 1.00001em }
.svg-1 .st8 { font-family: SimHei; font-size: 1em }
.svg-1 .st9 { fill: #ffffff; font-family: SimHei; font-size: 1.00001em }
.svg-1 .st10 { fill: #000000; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st11 { fill: #2a2aea; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st12 { fill: #000000; font-family: Roboto; font-size: 1.00001em }
.svg-1 .st13 { font-size: 1em }
.svg-1 .st14 { fill: none }
.svg-1 .st15 { fill: #000000; font-family: Roboto; font-size: 1.00001em; font-weight: bold }
.svg-1 .st16 { fill: #ffffff; font-family: Roboto; font-size: 1.00001em; font-weight: bold }
.svg-1 .st17 { font-family: SimHei; font-size: 1em; font-weight: normal }
.svg-1 .st18 { font-size: 1em; font-weight: normal }
.svg-1 .st19 { stroke: #b3b7bf; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st20 { fill: #000000; font-family: Roboto; font-size: 0.874992em }
.svg-1 .st21 { fill: #000000; font-family: SimHei; font-size: 0.874992em }
.svg-1 .st22 { fill: none; fill-rule: evenodd; font-size: 12px; overflow: visible; stroke-linecap: square; stroke-miterlimit: 3 }</style>
<g v:mid="0" v:index="1" v:groupcontext="foregroundPage">	<title>gstbuffer_workflow_qtimlvdetect</title>	<v:pageproperties v:drawingscale="1" v:pagescale="1" v:drawingunits="19" v:shadowoffsetx="9" v:shadowoffsety="-9"></v:pageproperties>	<g id="shape3-1" v:mid="3" v:groupcontext="shape" transform="translate(0.37524,-0.375412)">		<title>Sheet.3</title>		<path d="M0 382.57 A5.62513 5.62513 -180 0 0 5.62 388.19 L809.9 388.19 A5.62513 5.62513 -180 0 0 815.53 382.57 L815.53					 6.38 A5.62513 5.62513 -180 0 0 809.9 0.75 L5.62 0.75 A5.62513 5.62513 -180 0 0 -0 6.38 L0 382.57 Z" class="st1"></path>	</g>	<g id="shape4-3" v:mid="4" v:groupcontext="shape">		<title>Sheet.4</title>		<path d="M810.28 0.75 C813.17 0.75 815.53 3.11 815.53 6 L815.53 382.19 C815.53 385.09 813.17 387.44 810.28 387.44 L6					 387.44 C3.11 387.44 0.75 385.09 0.75 382.19 L0.75 6 C0.75 3.11 3.11 0.75 6 0.75 L810.28 0.75 ZM810.28 0					 L6 0 C2.69 0 0 2.69 0 6 L0 382.19 C0 385.5 2.69 388.19 6 388.19 L810.28 388.19 C813.59 388.19 816.28 385.5					 816.28 382.19 L816.28 6 C816.28 2.69 813.59 0 810.28 0 Z" class="st2"></path>	</g>	<g id="shape12-5" v:mid="12" v:groupcontext="shape" transform="translate(281.659,-200.823)">		<title>Sheet.12</title>		<desc>+...</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="23.8198" cy="380.991" width="47.64" height="14.4"></v:textrect>		<rect x="0" y="373.791" width="47.6396" height="14.4" class="st3"></rect>		<text x="0" y="384.59" class="st4" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>+...</text>		</g>	<g id="shape76-8" v:mid="76" v:groupcontext="shape" transform="translate(19.9471,207.038) rotate(-90)">		<title>Sheet.76</title>		<path d="M0 388.19 L12.08 388.19" class="st5"></path>	</g>	<g id="shape86-11" v:mid="86" v:groupcontext="shape" transform="translate(107.553,-132)">		<title>Sheet.86</title>		<desc>ML 预处理插件</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="67.5" cy="369.441" width="135" height="37.5"></v:textrect>		<path d="M-0 385.19 A3.00007 3.00007 -180 0 0 3 388.19 L132 388.19 A3.00007 3.00007 -180 0 0 135 385.19 L135 353.69 A3.00007					 3.00007 -180 0 0 132 350.69 L3 350.69 A3.00007 3.00007 -180 0 0 0 353.69 L0 385.19 Z" class="st6"></path>		<text x="27.55" y="373.43" class="st7" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>ML <tspan class="st8">预处理插件</tspan></text>		</g>	<g id="shape89-15" v:mid="89" v:groupcontext="shape" transform="translate(15.0001,-42.0001)">		<title>Sheet.89</title>		<desc>视频源</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="60" cy="369.441" width="120.01" height="37.5"></v:textrect>		<path d="M-0 385.19 A3.00007 3.00007 -180 0 0 3 388.19 L117 388.19 A3.00007 3.00007 -180 0 0 120 385.19 L120 353.69 A3.00007					 3.00007 -180 0 0 117 350.69 L3 350.69 A3.00007 3.00007 -180 0 0 -0 353.69 L0 385.19 Z" class="st6"></path>		<text x="42" y="373.43" class="st9" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>视频源</text>		</g>	<g id="shape92-18" v:mid="92" v:groupcontext="shape" transform="translate(242.553,-150.75)">		<title>Sheet.92</title>		<path d="M0 388.19 L93.28 388.19" class="st5"></path>	</g>	<g id="shape93-21" v:mid="93" v:groupcontext="shape" transform="translate(334.96,-147.758)">		<title>Sheet.93</title>		<path d="M0 388.19 L5.18 385.2 L0 382.21 L0 388.19 Z" class="st10"></path>	</g>	<g id="shape95-23" v:mid="95" v:groupcontext="shape" transform="translate(340.638,-132)">		<title>Sheet.95</title>		<desc>ML 推理插件</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="67.5" cy="369.441" width="135" height="37.5"></v:textrect>		<path d="M-0 385.19 A3.00007 3.00007 -180 0 0 3 388.19 L132 388.19 A3.00007 3.00007 -180 0 0 135 385.19 L135 353.69 A3.00007					 3.00007 -180 0 0 132 350.69 L3 350.69 A3.00007 3.00007 -180 0 0 0 353.69 L0 385.19 Z" class="st6"></path>		<text x="33.55" y="373.43" class="st7" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>ML <tspan class="st8">推理插件</tspan></text>		</g>	<g id="shape98-27" v:mid="98" v:groupcontext="shape" transform="translate(574.345,-132)">		<title>Sheet.98</title>		<desc>qtimlpostprocess</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="67.5" cy="369.441" width="135" height="37.5"></v:textrect>		<path d="M-0 385.19 A3.00007 3.00007 -180 0 0 3 388.19 L132 388.19 A3.00007 3.00007 -180 0 0 135 385.19 L135 353.69 A3.00007					 3.00007 -180 0 0 132 350.69 L3 350.69 A3.00007 3.00007 -180 0 0 0 353.69 L0 385.19 Z" class="st11"></path>		<text x="20.79" y="373.04" class="st7" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>qtimlpostprocess</text>		</g>	<g id="shape100-30" v:mid="100" v:groupcontext="shape" transform="translate(243,-123.3)">		<title>Sheet.100</title>		<desc>neural-network/tensors</desc>		<v:textblock v:margins="rect(0,0,0,0)" v:verticalalign="0"></v:textblock>		<v:textrect cx="49.5" cy="376.491" width="99" height="23.4"></v:textrect>		<rect x="0" y="364.791" width="99" height="23.4" class="st3"></rect>		<text x="7.37" y="373.79" class="st12" v:langid="1033"><v:paragraph v:spline="-1" v:horizalign="1"></v:paragraph><v:tablist></v:tablist>neural-network/<tspan x="29.41" dy="1em" class="st13">tensors</tspan></text>		</g>	<g id="shape102-34" v:mid="102" v:groupcontext="shape" transform="translate(475.638,-150.75)">		<title>Sheet.102</title>		<path d="M0 388.19 L93.28 388.19" class="st5"></path>	</g>	<g id="shape103-37" v:mid="103" v:groupcontext="shape" transform="translate(568.045,-147.758)">		<title>Sheet.103</title>		<path d="M0 388.19 L5.18 385.2 L0 382.21 L0 388.19 Z" class="st10"></path>	</g>	<g id="shape104-39" v:mid="104" v:groupcontext="shape" transform="translate(474.976,-123.3)">		<title>Sheet.104</title>		<desc>neural-network/tensors</desc>		<v:textblock v:margins="rect(0,0,0,0)" v:verticalalign="0"></v:textblock>		<v:textrect cx="50.5119" cy="376.491" width="101.03" height="23.4"></v:textrect>		<rect x="0" y="364.791" width="101.024" height="23.4" class="st3"></rect>		<text x="8.39" y="373.79" class="st12" v:langid="1033"><v:paragraph v:spline="-1" v:horizalign="1"></v:paragraph><v:tablist></v:tablist>neural-network/<tspan x="30.42" dy="1em" class="st13">tensors</tspan></text>		</g>	<g id="shape106-43" v:mid="106" v:groupcontext="shape" transform="translate(135,-60.75)">		<title>Sheet.106</title>		<path d="M0 388.19 L541.97 388.19" class="st5"></path>	</g>	<g id="shape107-46" v:mid="107" v:groupcontext="shape" transform="translate(676.095,-57.7583)">		<title>Sheet.107</title>		<path d="M0 388.19 L5.18 385.2 L0 382.21 L0 388.19 Z" class="st10"></path>	</g>	<g id="shape108-48" v:mid="108" v:groupcontext="shape" transform="translate(339.985,-41.6998)">		<title>Sheet.108</title>		<desc>video/x-raw</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="66" cy="380.991" width="132.01" height="14.4"></v:textrect>		<rect x="0" y="373.791" width="132" height="14.4" class="st3"></rect>		<text x="34.75" y="384.59" class="st12" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>video/x-raw</text>		</g>	<g id="shape110-51" v:mid="110" v:groupcontext="shape" transform="translate(290.482,-156.402)">		<title>Sheet.110</title>		<path d="M235.31 388.19 L235.31 363.44 L0 363.44 L0 388.19 L235.31 388.19 Z" class="st14"></path>		<path d="M235.31 388.19 L235.31 363.44 L0 363.44 L0 388.19" class="st5"></path>	</g>	<g id="shape111-54" v:mid="111" v:groupcontext="shape" transform="translate(522.802,-152.096)">		<title>Sheet.111</title>		<path d="M5.98 383.01 L2.99 388.19 L0 383.01 L5.98 383.01 Z" class="st10"></path>	</g>	<g id="shape112-56" v:mid="112" v:groupcontext="shape" transform="translate(287.49,-152.096)">		<title>Sheet.112</title>		<path d="M0 383.01 L2.99 388.19 L5.98 383.01 L0 383.01 Z" class="st10"></path>	</g>	<g id="shape114-58" v:mid="114" v:groupcontext="shape" transform="translate(75.0001,-79.5)">		<title>Sheet.114</title>		<path d="M0 388.19 L0 318.65 L27.47 318.65 L0 388.19 Z" class="st14"></path>		<path d="M0 388.19 L0 318.65 L27.47 318.65" class="st5"></path>	</g>	<g id="shape115-61" v:mid="115" v:groupcontext="shape" transform="translate(101.59,-146.051)">		<title>Sheet.115</title>		<path d="M0 388.19 L5.18 385.2 L0 382.21 L0 388.19 Z" class="st10"></path>	</g>	<g id="shape117-63" v:mid="117" v:groupcontext="shape" transform="translate(709.345,-83.8058)">		<title>Sheet.117</title>		<path d="M31.93 388.19 L31.93 322.95 L0 322.95 L31.93 388.19 Z" class="st14"></path>		<path d="M31.93 388.19 L31.93 322.95 L0 322.95" class="st5"></path>	</g>	<g id="shape118-66" v:mid="118" v:groupcontext="shape" transform="translate(738.284,-79.5)">		<title>Sheet.118</title>		<path d="M5.98 383.01 L2.99 388.19 L0 383.01 L5.98 383.01 Z" class="st10"></path>	</g>	<g id="shape120-68" v:mid="120" v:groupcontext="shape" transform="translate(681.276,-42.0001)">		<title>Sheet.120</title>		<desc>qtimetamux</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="60" cy="369.441" width="120.01" height="37.5"></v:textrect>		<path d="M0 385.19 A3.00007 3.00007 -180 0 0 3 388.19 L117 388.19 A3.00007 3.00007 -180 0 0 120 385.19 L120 353.69 A3.00007					 3.00007 -180 0 0 117 350.69 L3 350.69 A3.00007 3.00007 -180 0 0 -0 353.69 L0 385.19 Z" class="st11"></path>		<text x="27.97" y="373.04" class="st7" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>qtimetamux</text>		</g>	<g id="shape122-71" v:mid="122" v:groupcontext="shape" transform="translate(745.444,-109.224)">		<title>Sheet.122</title>		<desc>text/x-raw</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="27.7781" cy="380.991" width="55.56" height="14.4"></v:textrect>		<rect x="0" y="373.791" width="55.5562" height="14.4" class="st3"></rect>		<text x="0" y="384.59" class="st12" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>text/x-raw</text>		</g>	<g id="shape124-74" v:mid="124" v:groupcontext="shape" transform="translate(1113.5,141.648) rotate(90)">		<title>Sheet.124</title>		<path d="M0 388.19 L93.19 388.19" class="st5"></path>	</g>	<g id="shape125-77" v:mid="125" v:groupcontext="shape" transform="translate(722.319,-149.043)">		<title>Sheet.125</title>		<path d="M0 383.01 L2.99 388.19 L5.98 383.01 L0 383.01 Z" class="st10"></path>	</g>	<g id="shape126-79" v:mid="126" v:groupcontext="shape" transform="translate(0,-361.8)">		<title>Sheet.126</title>		<desc>GST BIN</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="408.073" cy="380.991" width="816.15" height="14.4"></v:textrect>		<rect x="0" y="373.791" width="816.146" height="14.4" class="st3"></rect>		<text x="385.28" y="384.59" class="st15" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>GST BIN</text>		</g>	<g id="group133-82" transform="translate(279,-193.5)" v:mid="133" v:groupcontext="group">		<title>Sheet.133</title>	</g>	<g id="group154-83" transform="translate(279,-193.5)" v:mid="154" v:groupcontext="group">		<title>Sheet.154</title>		<g id="shape134-84" v:mid="134" v:groupcontext="shape">			<title>Sheet.134</title>			<desc>GstBuffer</desc>			<v:textblock v:margins="rect(7.2,0,0,0)" v:verticalalign="0"></v:textblock>			<v:textrect cx="129.6" cy="306.528" width="259.21" height="163.325"></v:textrect>			<path d="M0 385.14 A2.87066 3.04903 -180 0 0 2.87 388.19 L256.33 388.19 A2.87066 3.04903 -180 0 0 259.2 385.14 L259.2						 227.91 A2.87066 3.04903 -180 0 0 256.33 224.87 L2.87 224.87 A2.87066 3.04903 -180 0 0 -0 227.91 L0 385.14						 Z" class="st6"></path>			<text x="103.48" y="242.87" class="st16" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>GstBuffer</text>			</g>		<g id="shape135-87" v:mid="135" v:groupcontext="shape" transform="translate(9.94952,-65.5886)">			<title>Sheet.135</title>			<desc>+ GstMemory: 包含单个张量 示例1x513x513x3 + GstMemory: 下一个张量等… + ...</desc>			<v:textblock v:margins="rect(0,0,0,0)" v:verticalalign="0"></v:textblock>			<v:textrect cx="124.557" cy="355.474" width="249.12" height="65.4342"></v:textrect>			<rect x="0" y="322.757" width="249.115" height="65.4342" class="st3"></rect>			<text x="-0" y="334.74" class="st16" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>+ GstMemory:<v:tabchar></v:tabchar><tspan dx="2.675em" class="st17">包含单个张量<v:newlinechar></v:newlinechar><v:paragraph v:indentleft="79.2"></v:paragraph><v:tabchar></v:tabchar></tspan><tspan x="108" dy="1.331em" class="st17">示例</tspan><tspan class="st17">：</tspan><tspan class="st18">1x513x513x3<v:newlinechar></v:newlinechar><v:paragraph></v:paragraph></tspan><tspan x="-0" dy="1.331em" class="st13">+ GstMemory:<v:tabchar></v:tabchar></tspan><tspan dx="2.675em" class="st17">下一个张量等</tspan><tspan class="st18">…<v:newlinechar></v:newlinechar></tspan><tspan x="-0" dy="1.233em" class="st13">+ ...</tspan></text>			</g>		<g id="shape137-98" v:mid="137" v:groupcontext="shape" transform="translate(0.135741,-134.998)">			<title>Sheet.137</title>			<path d="M0 388.19 L259.2 388.19" class="st19"></path>		</g>		<g id="shape138-101" v:mid="138" v:groupcontext="shape" transform="translate(0.135741,-61.1918)">			<title>Sheet.138</title>			<path d="M0 388.19 L259.2 388.19" class="st19"></path>		</g>		<g id="shape136-104" v:mid="136" v:groupcontext="shape" transform="translate(9.94952,-4.5)">			<title>Sheet.136</title>			<desc>+ GstVideoMeta: 描述 raw 数据单个张量的 + GstVideoMeta: 下一个张量条目的 meta ...</desc>			<v:textblock v:margins="rect(0,0,0,0)" v:verticalalign="0"></v:textblock>			<v:textrect cx="124.557" cy="363.981" width="249.12" height="48.4196"></v:textrect>			<rect x="0" y="339.771" width="249.115" height="48.4196" class="st3"></rect>			<text x="-0" y="351.75" class="st16" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>+ GstVideoMeta:<v:tabchar></v:tabchar><tspan dx="1.511em" class="st17">描述</tspan><tspan class="st18"> </tspan><tspan class="st18">raw </tspan><tspan class="st17">数据单个张量的</tspan><tspan x="-0" dy="1.331em" class="st13">+ GstVideoMeta:</tspan><tspan dx="1.511em" class="st17">下一个张量条目的</tspan><tspan class="st18"> </tspan><tspan class="st18">meta</tspan><tspan x="-0" dy="1.233em" class="st13">+ ...</tspan></text>			</g>	</g>	<g id="group159-116" transform="translate(651.375,-232.686)" v:mid="159" v:groupcontext="group">		<title>Sheet.159</title>		<g id="shape156-117" v:mid="156" v:groupcontext="shape">			<title>Sheet.156</title>			<desc>GstBuffer</desc>			<v:textblock v:margins="rect(7.2,0,0,0)" v:verticalalign="0"></v:textblock>			<v:textrect cx="74.8125" cy="345.714" width="149.63" height="84.954"></v:textrect>			<path d="M0 385.05 A3.13955 3.13748 -180 0 0 3.14 388.19 L146.49 388.19 A3.13955 3.13748 -180 0 0 149.62 385.05 L149.62						 306.37 A3.13955 3.13748 -180 0 0 146.49 303.24 L3.14 303.24 A3.13955 3.13748 -180 0 0 0 306.37 L0 385.05						 Z" class="st6"></path>			<text x="48.69" y="321.24" class="st16" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>GstBuffer</text>			</g>		<g id="shape157-120" v:mid="157" v:groupcontext="shape" transform="translate(1.43885E-13,-57.954)">			<title>Sheet.157</title>			<path d="M0 388.19 L149.12 388.19" class="st19"></path>		</g>		<g id="shape158-123" v:mid="158" v:groupcontext="shape" transform="translate(10.125,-9.57898)">			<title>Sheet.158</title>			<desc>+ GstMemory: 后处理 Gstreamer 文本中的信息格式</desc>			<v:textblock v:margins="rect(0,0,0,0)" v:verticalalign="0"></v:textblock>			<v:textrect cx="67.5" cy="366.816" width="135.01" height="42.75"></v:textrect>			<rect x="0" y="345.441" width="135" height="42.75" class="st3"></rect>			<text x="0" y="357.42" class="st4" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>+ GstMemory: <tspan class="st17">后处理<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.233em" class="st18">Gstreamer </tspan><tspan x="0" dy="1.298em" class="st17">文本中的信息格式</tspan></text>			</g>	</g>	<g id="group160-129" transform="translate(690.875,-14.7814)" v:mid="160" v:groupcontext="group">		<title>Sheet.160</title>		<g id="shape79-130" v:mid="79" v:groupcontext="shape" transform="translate(15.1882,5.68434E-14)">			<title>Sheet.79</title>			<desc>Qualcomm</desc>			<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>			<v:textrect cx="27.0853" cy="381.891" width="54.18" height="12.6"></v:textrect>			<rect x="0" y="375.591" width="54.1706" height="12.6" class="st3"></rect>			<text x="0" y="385.04" class="st20" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>Qualcomm  </text>			</g>		<g id="shape80-133" v:mid="80" v:groupcontext="shape" transform="translate(6.29496E-14,-0.218607)">			<title>Sheet.80</title>			<path d="M0 386.69 A1.50003 1.50003 -180 0 0 1.5 388.19 L10.5 388.19 A1.50003 1.50003 -180 0 0 12 386.69 L12 377.69						 A1.50003 1.50003 -180 0 0 10.5 376.19 L1.5 376.19 A1.50003 1.50003 -180 0 0 0 377.69 L0 386.69 Z" class="st11"></path>		</g>		<g id="shape82-135" v:mid="82" v:groupcontext="shape" transform="translate(89.1246,5.68434E-14)">			<title>Sheet.82</title>			<desc>开源</desc>			<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>			<v:textrect cx="10.5" cy="381.891" width="21.01" height="12.6"></v:textrect>			<rect x="0" y="375.591" width="21" height="12.6" class="st3"></rect>			<text x="0" y="385.39" class="st21" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>开源</text>			</g>		<g id="shape83-138" v:mid="83" v:groupcontext="shape" transform="translate(73.9363,-0.218607)">			<title>Sheet.83</title>			<path d="M0 386.69 A1.50003 1.50003 -180 0 0 1.5 388.19 L10.5 388.19 A1.50003 1.50003 -180 0 0 12 386.69 L12 377.69						 A1.50003 1.50003 -180 0 0 10.5 376.19 L1.5 376.19 A1.50003 1.50003 -180 0 0 0 377.69 L0 386.69 Z" class="st6"></path>		</g>	</g></g>
</svg>

## 后处理

Figure : 目标检测架构的后处理
                
                <!--?xml version="1.0" encoding="UTF-8" standalone="no"?-->

<!-- Generated by Microsoft Visio, SVG Export postprocess_object_detection_qtivcomposer.svg gstbuffer_workflow_qtimlvdetect -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="11.3372in" height="5.39154in" viewbox="0 0 816.276 388.191" xml:space="preserve" color-interpolation-filters="sRGB" class="st26"><v:documentproperties v:langid="1033" v:viewmarkup="false"></v:documentproperties>
<style>.svg-2 .st1 { fill: #fafafa; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-2 .st2 { fill: #d2d7e1; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-2 .st3 { fill: none; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-2 .st4 { fill: #ffffff; font-family: Roboto; font-size: 1.00001em; font-weight: bold; letter-spacing: -0.00833327em }
.svg-2 .st5 { stroke: #000000; stroke-linecap: butt; stroke-width: 0.75 }
.svg-2 .st6 { fill: #007884; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-2 .st7 { fill: #ffffff; font-family: Roboto; font-size: 1.00001em }
.svg-2 .st8 { font-family: SimHei; font-size: 1em }
.svg-2 .st9 { fill: #ffffff; font-family: SimHei; font-size: 1.00001em }
.svg-2 .st10 { fill: #000000; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-2 .st11 { fill: #2a2aea; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-2 .st12 { fill: #000000; font-family: Roboto; font-size: 1.00001em }
.svg-2 .st13 { font-size: 1em }
.svg-2 .st14 { fill: none }
.svg-2 .st15 { font-size: 1em; letter-spacing: -0.00833327em }
.svg-2 .st16 { fill: #000000; font-family: Roboto; font-size: 1.00001em; font-weight: bold }
.svg-2 .st17 { fill: #ffffff; font-family: Roboto; font-size: 1.00001em; font-weight: bold }
.svg-2 .st18 { stroke: #b3b7bf; stroke-linecap: butt; stroke-width: 0.75 }
.svg-2 .st19 { font-family: SimHei; font-size: 1em; font-weight: normal }
.svg-2 .st20 { font-size: 1em; letter-spacing: 0em }
.svg-2 .st21 { font-family: SimHei; font-size: 1em; font-weight: normal; letter-spacing: 0em }
.svg-2 .st22 { font-size: 1em; font-weight: normal; letter-spacing: 0em }
.svg-2 .st23 { fill: #000000; font-family: Roboto; font-size: 0.874992em }
.svg-2 .st24 { fill: #000000; font-family: SimHei; font-size: 0.874992em }
.svg-2 .st25 { font-size: 1em; font-weight: normal }
.svg-2 .st26 { fill: none; fill-rule: evenodd; font-size: 12px; overflow: visible; stroke-linecap: square; stroke-miterlimit: 3 }</style>
<g v:mid="0" v:index="1" v:groupcontext="foregroundPage">	<title>gstbuffer_workflow_qtimlvdetect</title>	<v:pageproperties v:drawingscale="1" v:pagescale="1" v:drawingunits="19" v:shadowoffsetx="9" v:shadowoffsety="-9"></v:pageproperties>	<g id="shape3-1" v:mid="3" v:groupcontext="shape" transform="translate(0.37524,-0.375412)">		<title>Sheet.3</title>		<path d="M0 382.57 A5.62513 5.62513 -180 0 0 5.62 388.19 L809.9 388.19 A5.62513 5.62513 -180 0 0 815.53 382.57 L815.53					 6.38 A5.62513 5.62513 -180 0 0 809.9 0.75 L5.62 0.75 A5.62513 5.62513 -180 0 0 -0 6.38 L0 382.57 Z" class="st1"></path>	</g>	<g id="shape4-3" v:mid="4" v:groupcontext="shape">		<title>Sheet.4</title>		<path d="M810.28 0.75 C813.17 0.75 815.53 3.11 815.53 6 L815.53 382.19 C815.53 385.09 813.17 387.44 810.28 387.44 L6					 387.44 C3.11 387.44 0.75 385.09 0.75 382.19 L0.75 6 C0.75 3.11 3.11 0.75 6 0.75 L810.28 0.75 ZM810.28 0					 L6 0 C2.69 0 0 2.69 0 6 L0 382.19 C0 385.5 2.69 388.19 6 388.19 L810.28 388.19 C813.59 388.19 816.28 385.5					 816.28 382.19 L816.28 6 C816.28 2.69 813.59 0 810.28 0 Z" class="st2"></path>	</g>	<g id="shape12-5" v:mid="12" v:groupcontext="shape" transform="translate(281.659,-200.823)">		<title>Sheet.12</title>		<desc>+...</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="23.8198" cy="380.991" width="47.64" height="14.4"></v:textrect>		<rect x="0" y="373.791" width="47.6396" height="14.4" class="st3"></rect>		<text x="0" y="384.59" class="st4" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>+...</text>		</g>	<g id="shape76-8" v:mid="76" v:groupcontext="shape" transform="translate(19.9471,207.038) rotate(-90)">		<title>Sheet.76</title>		<path d="M0 388.19 L12.08 388.19" class="st5"></path>	</g>	<g id="shape86-11" v:mid="86" v:groupcontext="shape" transform="translate(107.553,-132)">		<title>Sheet.86</title>		<desc>ML 预处理插件</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="67.5" cy="369.441" width="135" height="37.5"></v:textrect>		<path d="M-0 385.19 A3.00007 3.00007 -180 0 0 3 388.19 L132 388.19 A3.00007 3.00007 -180 0 0 135 385.19 L135 353.69 A3.00007					 3.00007 -180 0 0 132 350.69 L3 350.69 A3.00007 3.00007 -180 0 0 0 353.69 L0 385.19 Z" class="st6"></path>		<text x="27.55" y="373.43" class="st7" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>ML <tspan class="st8">预处理插件</tspan></text>		</g>	<g id="shape89-15" v:mid="89" v:groupcontext="shape" transform="translate(15.0001,-42.0001)">		<title>Sheet.89</title>		<desc>视频源</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="60" cy="369.441" width="120.01" height="37.5"></v:textrect>		<path d="M-0 385.19 A3.00007 3.00007 -180 0 0 3 388.19 L117 388.19 A3.00007 3.00007 -180 0 0 120 385.19 L120 353.69 A3.00007					 3.00007 -180 0 0 117 350.69 L3 350.69 A3.00007 3.00007 -180 0 0 -0 353.69 L0 385.19 Z" class="st6"></path>		<text x="42" y="373.43" class="st9" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>视频源</text>		</g>	<g id="shape92-18" v:mid="92" v:groupcontext="shape" transform="translate(242.553,-150.75)">		<title>Sheet.92</title>		<path d="M0 388.19 L93.28 388.19" class="st5"></path>	</g>	<g id="shape93-21" v:mid="93" v:groupcontext="shape" transform="translate(334.96,-147.758)">		<title>Sheet.93</title>		<path d="M0 388.19 L5.18 385.2 L0 382.21 L0 388.19 Z" class="st10"></path>	</g>	<g id="shape95-23" v:mid="95" v:groupcontext="shape" transform="translate(340.638,-132)">		<title>Sheet.95</title>		<desc>ML 推理插件</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="67.5" cy="369.441" width="135" height="37.5"></v:textrect>		<path d="M-0 385.19 A3.00007 3.00007 -180 0 0 3 388.19 L132 388.19 A3.00007 3.00007 -180 0 0 135 385.19 L135 353.69 A3.00007					 3.00007 -180 0 0 132 350.69 L3 350.69 A3.00007 3.00007 -180 0 0 0 353.69 L0 385.19 Z" class="st6"></path>		<text x="33.55" y="373.43" class="st7" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>ML <tspan class="st8">推理插件</tspan></text>		</g>	<g id="shape98-27" v:mid="98" v:groupcontext="shape" transform="translate(574.345,-132)">		<title>Sheet.98</title>		<desc>qtimlpostprocess</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="67.5" cy="369.441" width="135" height="37.5"></v:textrect>		<path d="M-0 385.19 A3.00007 3.00007 -180 0 0 3 388.19 L132 388.19 A3.00007 3.00007 -180 0 0 135 385.19 L135 353.69 A3.00007					 3.00007 -180 0 0 132 350.69 L3 350.69 A3.00007 3.00007 -180 0 0 0 353.69 L0 385.19 Z" class="st11"></path>		<text x="20.79" y="373.04" class="st7" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>qtimlpostprocess</text>		</g>	<g id="shape100-30" v:mid="100" v:groupcontext="shape" transform="translate(243,-123.3)">		<title>Sheet.100</title>		<desc>neural-network/tensors</desc>		<v:textblock v:margins="rect(0,0,0,0)" v:verticalalign="0"></v:textblock>		<v:textrect cx="49.5" cy="376.491" width="99" height="23.4"></v:textrect>		<rect x="0" y="364.791" width="99" height="23.4" class="st3"></rect>		<text x="7.37" y="373.79" class="st12" v:langid="1033"><v:paragraph v:spline="-1" v:horizalign="1"></v:paragraph><v:tablist></v:tablist>neural-network/<tspan x="29.41" dy="1em" class="st13">tensors</tspan></text>		</g>	<g id="shape102-34" v:mid="102" v:groupcontext="shape" transform="translate(475.638,-150.75)">		<title>Sheet.102</title>		<path d="M0 388.19 L93.28 388.19" class="st5"></path>	</g>	<g id="shape103-37" v:mid="103" v:groupcontext="shape" transform="translate(568.045,-147.758)">		<title>Sheet.103</title>		<path d="M0 388.19 L5.18 385.2 L0 382.21 L0 388.19 Z" class="st10"></path>	</g>	<g id="shape104-39" v:mid="104" v:groupcontext="shape" transform="translate(474.976,-123.3)">		<title>Sheet.104</title>		<desc>neural-network/tensors</desc>		<v:textblock v:margins="rect(0,0,0,0)" v:verticalalign="0"></v:textblock>		<v:textrect cx="50.5119" cy="376.491" width="101.03" height="23.4"></v:textrect>		<rect x="0" y="364.791" width="101.024" height="23.4" class="st3"></rect>		<text x="8.39" y="373.79" class="st12" v:langid="1033"><v:paragraph v:spline="-1" v:horizalign="1"></v:paragraph><v:tablist></v:tablist>neural-network/<tspan x="30.42" dy="1em" class="st13">tensors</tspan></text>		</g>	<g id="shape106-43" v:mid="106" v:groupcontext="shape" transform="translate(135,-60.75)">		<title>Sheet.106</title>		<path d="M0 388.19 L541.97 388.19" class="st5"></path>	</g>	<g id="shape107-46" v:mid="107" v:groupcontext="shape" transform="translate(676.095,-57.7583)">		<title>Sheet.107</title>		<path d="M0 388.19 L5.18 385.2 L0 382.21 L0 388.19 Z" class="st10"></path>	</g>	<g id="shape108-48" v:mid="108" v:groupcontext="shape" transform="translate(339.985,-41.6998)">		<title>Sheet.108</title>		<desc>video/x-raw</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="66" cy="380.991" width="132.01" height="14.4"></v:textrect>		<rect x="0" y="373.791" width="132" height="14.4" class="st3"></rect>		<text x="34.75" y="384.59" class="st12" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>video/x-raw</text>		</g>	<g id="shape110-51" v:mid="110" v:groupcontext="shape" transform="translate(290.482,-156.402)">		<title>Sheet.110</title>		<path d="M235.31 388.19 L235.31 363.44 L0 363.44 L0 388.19 L235.31 388.19 Z" class="st14"></path>		<path d="M235.31 388.19 L235.31 363.44 L0 363.44 L0 388.19" class="st5"></path>	</g>	<g id="shape111-54" v:mid="111" v:groupcontext="shape" transform="translate(522.802,-152.096)">		<title>Sheet.111</title>		<path d="M5.98 383.01 L2.99 388.19 L0 383.01 L5.98 383.01 Z" class="st10"></path>	</g>	<g id="shape112-56" v:mid="112" v:groupcontext="shape" transform="translate(287.49,-152.096)">		<title>Sheet.112</title>		<path d="M0 383.01 L2.99 388.19 L5.98 383.01 L0 383.01 Z" class="st10"></path>	</g>	<g id="shape114-58" v:mid="114" v:groupcontext="shape" transform="translate(75.0001,-79.5)">		<title>Sheet.114</title>		<path d="M0 388.19 L0 318.65 L27.47 318.65 L0 388.19 Z" class="st14"></path>		<path d="M0 388.19 L0 318.65 L27.47 318.65" class="st5"></path>	</g>	<g id="shape115-61" v:mid="115" v:groupcontext="shape" transform="translate(101.59,-146.051)">		<title>Sheet.115</title>		<path d="M0 388.19 L5.18 385.2 L0 382.21 L0 388.19 Z" class="st10"></path>	</g>	<g id="shape117-63" v:mid="117" v:groupcontext="shape" transform="translate(709.345,-83.8058)">		<title>Sheet.117</title>		<path d="M31.93 388.19 L31.93 322.95 L0 322.95 L31.93 388.19 Z" class="st14"></path>		<path d="M31.93 388.19 L31.93 322.95 L0 322.95" class="st5"></path>	</g>	<g id="shape118-66" v:mid="118" v:groupcontext="shape" transform="translate(738.284,-79.5)">		<title>Sheet.118</title>		<path d="M5.98 383.01 L2.99 388.19 L0 383.01 L5.98 383.01 Z" class="st10"></path>	</g>	<g id="shape120-68" v:mid="120" v:groupcontext="shape" transform="translate(681.276,-42.0001)">		<title>Sheet.120</title>		<desc>qtivcomposer</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="60" cy="369.441" width="120.01" height="37.5"></v:textrect>		<path d="M0 385.19 A3.00007 3.00007 -180 0 0 3 388.19 L117 388.19 A3.00007 3.00007 -180 0 0 120 385.19 L120 353.69 A3.00007					 3.00007 -180 0 0 117 350.69 L3 350.69 A3.00007 3.00007 -180 0 0 -0 353.69 L0 385.19 Z" class="st11"></path>		<text x="23.4" y="373.04" class="st7" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>qti<tspan class="st15">v</tspan>composer</text>		</g>	<g id="shape122-72" v:mid="122" v:groupcontext="shape" transform="translate(745.444,-99.0365)">		<title>Sheet.122</title>		<desc>video/ x-raw</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="32.2781" cy="370.803" width="64.56" height="34.7757"></v:textrect>		<rect x="0" y="353.415" width="64.5563" height="34.7757" class="st3"></rect>		<text x="0" y="367.2" class="st12" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>video/<v:newlinechar></v:newlinechar><tspan x="0" dy="1.2em" class="st13">x</tspan>-raw</text>		</g>	<g id="shape124-76" v:mid="124" v:groupcontext="shape" transform="translate(1113.5,141.648) rotate(90)">		<title>Sheet.124</title>		<path d="M0 388.19 L93.19 388.19" class="st5"></path>	</g>	<g id="shape125-79" v:mid="125" v:groupcontext="shape" transform="translate(722.319,-149.043)">		<title>Sheet.125</title>		<path d="M0 383.01 L2.99 388.19 L5.98 383.01 L0 383.01 Z" class="st10"></path>	</g>	<g id="shape126-81" v:mid="126" v:groupcontext="shape" transform="translate(0,-361.8)">		<title>Sheet.126</title>		<desc>GST BIN</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="408.073" cy="380.991" width="816.15" height="14.4"></v:textrect>		<rect x="0" y="373.791" width="816.146" height="14.4" class="st3"></rect>		<text x="385.28" y="384.59" class="st16" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>GST BIN</text>		</g>	<g id="group133-84" transform="translate(279,-193.5)" v:mid="133" v:groupcontext="group">		<title>Sheet.133</title>	</g>	<g id="shape16-85" v:mid="16" v:groupcontext="shape" transform="translate(651.375,-210.843)">		<title>Sheet.16</title>		<desc>GstBuffer</desc>		<v:textblock v:margins="rect(7.2,0,0,0)" v:verticalalign="0"></v:textblock>		<v:textrect cx="74.8125" cy="329.034" width="149.63" height="118.314"></v:textrect>		<path d="M0 383.82 A3.13955 4.36953 -180 0 0 3.14 388.19 L146.49 388.19 A3.13955 4.36953 -180 0 0 149.62 383.82 L149.62					 274.25 A3.13955 4.36953 -180 0 0 146.49 269.88 L3.14 269.88 A3.13955 4.36953 -180 0 0 0 274.25 L0 383.82					 Z" class="st6"></path>		<text x="48.69" y="287.88" class="st17" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>GstBuffer</text>		</g>	<g id="shape75-88" v:mid="75" v:groupcontext="shape" transform="translate(651.375,-300.837)">		<title>Sheet.75</title>		<path d="M0 388.19 L149.12 388.19" class="st18"></path>	</g>	<g id="shape149-91" v:mid="149" v:groupcontext="shape" transform="translate(661.5,-217.587)">		<title>Sheet.149</title>		<desc>+ GstMemory: 图像遮罩 多个边界框 + GstVideoMeta: 描述图像的 meta</desc>		<v:textblock v:margins="rect(0,0,0,0)" v:verticalalign="0"></v:textblock>		<v:textrect cx="69.75" cy="349.941" width="139.5" height="76.5"></v:textrect>		<rect x="0" y="311.691" width="139.5" height="76.5" class="st3"></rect>		<text x="0" y="323.67" class="st4" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>+ GstMemory: <tspan class="st19">图像遮罩<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.331em" class="st19">多个边界框<v:newlinechar></v:newlinechar><v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="2.531em" class="st20">+ GstVideoMeta: </tspan><tspan class="st21" v:langid="2052">描述图</tspan><tspan x="0" dy="1.331em" class="st21" v:langid="2052">像的</tspan><tspan class="st22"> </tspan><tspan class="st22">meta</tspan></text>		</g>	<g id="shape159-101" v:mid="159" v:groupcontext="shape" transform="translate(651.875,-254.692)">		<title>Sheet.159</title>		<path d="M0 388.19 L149.13 388.19" class="st18"></path>	</g>	<g id="group160-104" transform="translate(690.875,-14.7814)" v:mid="160" v:groupcontext="group">		<title>Sheet.160</title>		<g id="shape79-105" v:mid="79" v:groupcontext="shape" transform="translate(15.1882,5.68434E-14)">			<title>Sheet.79</title>			<desc>Qualcomm</desc>			<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>			<v:textrect cx="27.0853" cy="381.891" width="54.18" height="12.6"></v:textrect>			<rect x="0" y="375.591" width="54.1706" height="12.6" class="st3"></rect>			<text x="0" y="385.04" class="st23" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>Qualcomm  </text>			</g>		<g id="shape80-108" v:mid="80" v:groupcontext="shape" transform="translate(6.29496E-14,-0.218607)">			<title>Sheet.80</title>			<path d="M0 386.69 A1.50003 1.50003 -180 0 0 1.5 388.19 L10.5 388.19 A1.50003 1.50003 -180 0 0 12 386.69 L12 377.69						 A1.50003 1.50003 -180 0 0 10.5 376.19 L1.5 376.19 A1.50003 1.50003 -180 0 0 0 377.69 L0 386.69 Z" class="st11"></path>		</g>		<g id="shape82-110" v:mid="82" v:groupcontext="shape" transform="translate(89.1246,5.68434E-14)">			<title>Sheet.82</title>			<desc>开源</desc>			<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>			<v:textrect cx="10.5" cy="381.891" width="21.01" height="12.6"></v:textrect>			<rect x="0" y="375.591" width="21" height="12.6" class="st3"></rect>			<text x="0" y="385.39" class="st24" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>开源</text>			</g>		<g id="shape83-113" v:mid="83" v:groupcontext="shape" transform="translate(73.9363,-0.218607)">			<title>Sheet.83</title>			<path d="M0 386.69 A1.50003 1.50003 -180 0 0 1.5 388.19 L10.5 388.19 A1.50003 1.50003 -180 0 0 12 386.69 L12 377.69						 A1.50003 1.50003 -180 0 0 10.5 376.19 L1.5 376.19 A1.50003 1.50003 -180 0 0 0 377.69 L0 386.69 Z" class="st6"></path>		</g>	</g>	<g id="group166-115" transform="translate(278.47,-193.5)" v:mid="166" v:groupcontext="group">		<title>Sheet.166</title>		<g id="shape167-116" v:mid="167" v:groupcontext="shape">			<title>Sheet.167</title>			<desc>GstBuffer</desc>			<v:textblock v:margins="rect(7.2,0,0,0)" v:verticalalign="0"></v:textblock>			<v:textrect cx="129.6" cy="311.691" width="259.21" height="153"></v:textrect>			<path d="M-0 385.33 A2.87066 2.85627 -180 0 0 2.87 388.19 L256.33 388.19 A2.87066 2.85627 -180 0 0 259.2 385.33 L259.2						 238.05 A2.87066 2.85627 -180 0 0 256.33 235.19 L2.87 235.19 A2.87066 2.85627 -180 0 0 0 238.05 L0 385.33						 Z" class="st6"></path>			<text x="103.48" y="253.19" class="st17" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>GstBuffer</text>			</g>		<g id="shape168-119" v:mid="168" v:groupcontext="shape" transform="translate(9.94952,-60.0901)">			<title>Sheet.168</title>			<desc>+ GstMemory: 包含单个张量 + GstMemory: 包含下一个张量等… + ...</desc>			<v:textblock v:margins="rect(0,0,0,0)" v:verticalalign="0"></v:textblock>			<v:textrect cx="124.557" cy="362.537" width="249.12" height="51.3082"></v:textrect>			<rect x="0" y="336.883" width="249.115" height="51.3082" class="st3"></rect>			<text x="0" y="348.86" class="st17" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>+ GstMemory:<v:tabchar></v:tabchar><tspan dx="2.675em" class="st19">包含单个张量<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.331em" class="st13">+ GstMemory:<v:tabchar></v:tabchar></tspan><tspan dx="2.675em" class="st19" v:langid="2052">包含下一个张量等</tspan><tspan class="st19" v:langid="2052">…<v:newlinechar></v:newlinechar><v:paragraph></v:paragraph></tspan><tspan x="0" dy="1.233em" class="st13">+ ...</tspan></text>			</g>		<g id="shape169-127" v:mid="169" v:groupcontext="shape" transform="translate(0.135741,-123.09)">			<title>Sheet.169</title>			<path d="M0 388.19 L259.2 388.19" class="st18"></path>		</g>		<g id="shape170-130" v:mid="170" v:groupcontext="shape" transform="translate(0.135741,-58.2819)">			<title>Sheet.170</title>			<path d="M0 388.19 L259.2 388.19" class="st18"></path>		</g>		<g id="shape171-133" v:mid="171" v:groupcontext="shape" transform="translate(9.94952,-1.59009)">			<title>Sheet.171</title>			<desc>+ GstVideoMeta: 描述 raw 数据单个张量 + GstVideoMeta: 下一个张量条目的 meta +...</desc>			<v:textblock v:margins="rect(0,0,0,0)" v:verticalalign="0"></v:textblock>			<v:textrect cx="124.557" cy="363.981" width="249.12" height="48.4196"></v:textrect>			<rect x="0" y="339.771" width="249.115" height="48.4196" class="st3"></rect>			<text x="-0" y="351.75" class="st17" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>+ GstVideoMeta:<v:tabchar></v:tabchar><tspan dx="1.511em" class="st19" v:langid="2052">描述</tspan><tspan class="st25" v:langid="2052"> </tspan><tspan class="st25">raw </tspan><tspan class="st19" v:langid="2052">数据单个张量<v:newlinechar></v:newlinechar></tspan><tspan x="-0" dy="1.331em" class="st13">+ GstVideoMeta:<v:tabchar></v:tabchar></tspan><tspan dx="1.511em" class="st19">下一个张量条目的</tspan><tspan class="st25"> </tspan><tspan class="st25">meta<v:newlinechar></v:newlinechar></tspan><tspan x="-0" dy="1.233em" class="st13">+ ...</tspan></text>			</g>	</g></g>
</svg>

协商的 [GstCaps](https://gstreamer.freedesktop.org/documentation/gstreamer/gstcaps.html) 决定了处理后的输出。输出可以是以下任一值：

- 图像遮罩（GstCaps：video/x-raw），可通过 qtivcomposer 将其叠加在原始图像上。
    - 该元素使用基于 CPU 的 [Cairo](https://www.cairographics.org) 2D 图形库在 ION/DMA 缓存中绘制预测结果。
    - GstImageBufferPool 自定义缓存池类通过 IOCTL 命令将 ION/DMA 缓存分配给内核。
- 包含预测结果的 GStreamer 格式文本（GstCaps：text/x-raw）。 
    预测结果被解析为使用常规系统内存分配的缓存内的 GStreamer 格式的字符串。

插件的模块和标签属性决定了后处理操作的方法。

- module 属性指定了后处理模块。该属性在运行中使用包含前缀 "`ml-vdetection`-" 的 `/usr/lib/gstreamer-1.0/ml/modules/` 中的可用库动态填充。
- labels 属性是一个自定义文本文件，对于必须为预测标签提供的每个机器学习检测模型都不同。

可选属性可用于调整预测结果。

- 使用 results 属性控制显示的结果数
- 使用阈值属性设置预测的置信度阈值。不显示置信度低的结果。

## 继承链

[GObject](https://docs.gtk.org/gobject/) → [GstObject](https://gstreamer.freedesktop.org/documentation/gstreamer/gstobject.html?gi-language=c) → [GstElement](https://gstreamer.freedesktop.org/documentation/gstreamer/gstelement.html?gi-language=c) → [GstBaseTransform](https://gstreamer.freedesktop.org/documentation/base/gstbasetransform.html?gi-language=c) → GstMLVideoDetection

下表提供了有关 qtimlvdetection 的端口模板和元素属性的信息。有关用例信息，请参见在 [Qualcomm Neural Processing SDK 用例](https://docs.qualcomm.com/doc/80-70022-50SC/topic/qualcomm-neural-processing-sdk-use-cases.html) 和 [LiteRT 用例](https://docs.qualcomm.com/doc/80-70022-50SC/topic/tensorflow-lite-use-cases.html) 中的检测用例。

## 端口配置

| 端口名称 | 功能 | 功能 | 功能 |
| --- | --- | --- | --- |
| SINK 模板：'sink'<br><ul class="ul" id="qtimlvdetection__ul_zbh_g4z_q1c"><br>                                    <li class="li"><em class="ph i">可用性：</em> 按需</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 接收</li><br><br>                                </ul> | neural-network/tensors | – | – |
| SRC 模板：'src'<br><ul class="ul" id="qtimlvdetection__ul_u3p_g4z_q1c"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 发送</li><br><br>                                </ul> | video/x-raw | format： | { (string)BGRA, (string)BGRx, (string)BGR16 } |
| SRC 模板：'src'<br><ul class="ul" id="qtimlvdetection__ul_u3p_g4z_q1c"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 发送</li><br><br>                                </ul> | video/x-raw | format： | { (string)BGRA, (string)BGRx, (string)BGR16 } |
| SRC 模板：'src'<br><ul class="ul" id="qtimlvdetection__ul_u3p_g4z_q1c"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 发送</li><br><br>                                </ul> | text/x-raw | format： | { (string)utf8 } |
|  |  |  |  |
|  |  |  |  |

## 元素配置

Table : qtimlvdetection 的元素属性

| 属性 | 说明 |
| --- | --- |
| name | 对象名称<ul class="ul" id="qtimlvdetection__ul_mdx_zl4_myb"><br>                                    <li class="li">标志：可读、可写</li><br><br>                                    <li class="li">字符串。默认："mlvideodetection0"</li><br><br>                                </ul> |
| parent | 对象的父级<ul class="ul" id="qtimlvdetection__ul_ndx_zl4_myb"><br>                                    <li class="li">标志：可读、可写</li><br><br>                                    <li class="li">"GstObject" 类型的对象</li><br><br>                                </ul> |
| qos | 处理服务质量事件。<ul class="ul" id="qtimlvdetection__ul_odx_zl4_myb"><br>                                    <li class="li">标志：可读、可写</li><br><br>                                    <li class="li">Boolean。默认值：false</li><br><br>                                </ul> |
| module | 用于处理张量的模块名称。<ul class="ul" id="qtimlvdetection__ul_pdx_zl4_myb"><br>                                    <li class="li">标志：可读、可写</li><br><br>                                    <li class="li">枚举 "GstMLVideoDetectionModules"（0)：none - 无模块，默认无效模式<ul class="ul" id="qtimlvdetection__ul_apg_1m4_myb"><br>                                            <li class="li">(1)：face-detect - ml-vdetection-face-detect</li><br><br>                                            <li class="li">(2)：ssd-mobilenet - ml-vdetection-ssd-MobileNet</li><br><br>                                            <li class="li">(3)：YOLOv5m - ml-vdetection-yolov5m</li><br><br>                                            <li class="li">(4)： YOLOv5s - ml-vdetection-yolov5s</li><br><br>                                        </ul><br></li><br><br>                                </ul> |
| labels | 标签的文件名。<ul class="ul" id="qtimlvdetection__ul_qdx_zl4_myb"><br>                                    <li class="li">标志：可读、可写</li><br><br>                                    <li class="li">字符串。默认值：null</li><br><br>                                </ul> |
| results | 要显示的结果数<ul class="ul" id="qtimlvdetection__ul_rdx_zl4_myb"><br>                                    <li class="li">标志：可读、可写</li><br><br>                                    <li class="li">无符号整型。范围： 0~10 默认： 5</li><br><br>                                </ul> |
| threshold | 置信度阈值 (%)<ul class="ul" id="qtimlvdetection__ul_sdx_zl4_myb"><br>                                    <li class="li">标志：可读、可写</li><br><br>                                    <li class="li">双范围：10.0 - 100.0 默认：10.0</li><br><br>                                </ul> |

**Parent Topic:** [配置 ML 插件](https://docs.qualcomm.com/doc/80-70022-50SC/topic/inferencing-plugins.html)

Last Published: Nov 05, 2025

[Previous Topic
qtimlaclassification](https://docs.qualcomm.com/bundle/publicresource/80-70022-50SC/topics/qtimlaclassification.md) [Next Topic
qtimlvsegmentation](https://docs.qualcomm.com/bundle/publicresource/80-70022-50SC/topics/qtimlvsegmentation.md)