Difference between revisions of "GstInference/Overlay Elements/Inference Overlay"

From RidgeRun Developer Connection
Jump to: navigation, search
m
m
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
{{GstInference/Head|previous=Overlay Elements/Embedding Overlay|next=Helper Elements|keywords=|title=GstInference Inference Overlay element}}
+
{{GstInference/Head|previous=Overlay Elements|next=Helper Elements|metakeywords=|title=GstInference Inference Overlay element}}
 
</noinclude>
 
</noinclude>
 
<!-- If you want a custom title for the page, un-comment and edit this line:
 
<!-- If you want a custom title for the page, un-comment and edit this line:
Line 6: Line 6:
 
-->
 
-->
  
This element consumes the inference metadata. This element uses [[GstInference/Metadatas/GstInferenceMeta|GstInferenceMeta]]. This element draws each bounding box with its respective label, using OpenCV.
+
This element consumes the inference metadata described in [[GstInference/Metadatas/GstInferenceMeta|GstInferenceMeta]]. It draws each bounding box with its respective labels.
 
[[File:Detectionoverlay.png|500px|center|thumb|Detection overalay example]]
 
[[File:Detectionoverlay.png|500px|center|thumb|Detection overalay example]]
  
  
 
== Properties ==
 
== Properties ==
The inferenceoverlay element expose the following properties to control the boxes' thickness, color, etc. These properties are documented on the following table:
+
The inferenceoverlay element exposes the following properties to control the boxes' thickness, color, etc. These properties are documented in the following table:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 34: Line 34:
 
== Example ==
 
== Example ==
  
For example pipelines using inferenceoverlay element please check the [[GstInference/Example_pipelines | example pipelines]] section.  
+
For example, pipelines using inferenceoverlay element please check the [[GstInference/Example_pipelines | example pipelines]] section.  
  
 
<noinclude>
 
<noinclude>
{{GstInference/Foot|Overlay Elements/Embedding Overlay|Helper Elements}}
+
{{GstInference/Foot|Overlay Elements|Helper Elements}}
 
</noinclude>
 
</noinclude>

Latest revision as of 14:32, 27 February 2023



Previous: Overlay Elements Index Next: Helper Elements




This element consumes the inference metadata described in GstInferenceMeta. It draws each bounding box with its respective labels.

Detection overalay example


Properties

The inferenceoverlay element exposes the following properties to control the boxes' thickness, color, etc. These properties are documented in the following table:

Property Value Description
font-scale Double [0,100] Scale of the font used on the overlay. 0 turns off the overlay
thickness Double [1,100] Thickness in pixels used for the lines
style enum
(0): classic
(1): dotted
(2): dashed
Line style of rectangle
Error creating thumbnail: Unable to save thumbnail to destination
Inference overlay styles

Example

For example, pipelines using inferenceoverlay element please check the example pipelines section.


Previous: Overlay Elements Index Next: Helper Elements