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

From RidgeRun Developer Connection
Jump to: navigation, search
(Properties)
m
Line 5: Line 5:
 
{{DISPLAYTITLE:GstInference - <descriptive page name>|noerror}}
 
{{DISPLAYTITLE:GstInference - <descriptive page name>|noerror}}
 
-->
 
-->
 +
 +
{{DISPLAYTITLE:GstInference Inference Overlay element|noerror}}
  
 
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. This element uses [[GstInference/Metadatas/GstInferenceMeta|GstInferenceMeta]]. This element draws each bounding box with its respective label, using OpenCV.
Line 10: Line 12:
  
  
= 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 expose the following properties to control the boxes' thickness, color, etc. These properties are documented on the following table:
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 34:
 
[[File:Overlay styles.png|1000px|thumb|center|Inference overlay styles]]
 
[[File:Overlay styles.png|1000px|thumb|center|Inference overlay styles]]
  
= 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.  

Revision as of 14:58, 31 January 2020



Previous: Overlay Elements/Classification Overlay Index Next: Overlay Elements/Embedding Overlay





This element consumes the inference metadata. This element uses GstInferenceMeta. This element draws each bounding box with its respective label, using OpenCV.

Detection overalay example


Properties

The inferenceoverlay element expose the following properties to control the boxes' thickness, color, etc. These properties are documented on 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/Classification Overlay Index Next: Overlay Elements/Embedding Overlay