GstInference/Overlay Elements: Difference between revisions

From RidgeRun Developer Wiki
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{GstInference/Head|previous=Metadatas/GstDetectionMeta|next=Overlay Elements/Classification Overlay|keywords=GstInference, Inference overlay}}
{{GstInference/Head|previous=Metadatas/GstInferenceMeta|next=Overlay Elements/Inference Overlay|metakeywords=GstInference, Inference overlay|title=GstInference Overlay Elements}}
 
</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 7:
-->
-->


{{DISPLAYTITLE:GstInference Overlay Elements|noerror}}
Alongside GstInference's inference plugins, we provide an element that helps to visualize inference results on GStreamer. This section provides documentation on this element.
 
Alongside GstInference's inference plugins, we provide a series of elements that help visualize inference results on GStreamer. This section provides documentation on these elements.
{| class="wikitable" style="margin-right: 22em;"
{| class="wikitable" style="margin-right: 22em;"
|-
|-
Line 14: Line 13:
! Description  
! Description  
! Status
! Status
|-
| [[GstInference/Overlay Elements/Classification Overlay|classificationoverlay]]
| Creates a text overlay with the most probable class on an incoming buffer with classification metadata
| <span style="color:#008000"> Complete </span>
|-
| [[GstInference/Overlay Elements/Detection Overlay|detectionoverlay]]
| Draws a square with its respective label for every bounding box contained in the buffer's detection metadata
| <span style="color:#008000"> Complete </span>
|-
| [[GstInference/Overlay Elements/Embedding Overlay|embeddingoverlay]]
| Draws a green border and writes "Pass" on the frame if its embedding is close to a known value. Draws a red border and writes "Fail" otherwise.
| <span style="color:#008000"> Complete </span>
|-
|-
| [[GstInference/Overlay Elements/Inference Overlay|inferenceoverlay]]
| [[GstInference/Overlay Elements/Inference Overlay|inferenceoverlay]]
| Draws a square with its respective label for every bounding box contained in the buffer's inference metadata  
| Draws a square with its respective label for every bounding box contained in the buffer's inference metadata  
| <span style="color:#008000"> Complete </span>
| <span style="color:#008000"> Complete </span>
|-
| [[GstInference/Overlay Elements/Segmentation Overlay|segmentationoverlay]]
| -
| <span style="color:#800000"> Coming soon </span>
|}
|}
==Installation==
To build the overlay elements you need OpenCV >= 3.3.1. Enable or disable the construction of the overlay elements using the option <code>--<enable/disable>-opencv</code> during autogen or configure:
<syntaxhighlight lang='bash'>
./autogen.sh --enable-opencv #Build the elements (default)
./autogen.sh --disable-opencv #Don't build the elements
</syntaxhighlight>


<noinclude>
<noinclude>
{{GstInference/Foot|Metadatas/GstDetectionMeta |Overlay Elements/Classification Overlay}}
{{GstInference/Foot|Metadatas/GstInferenceMeta|Overlay Elements/Inference Overlay}}
</noinclude>
</noinclude>

Latest revision as of 19:31, 27 February 2023