GstInference/Overlay Elements: Difference between revisions

From RidgeRun Developer Wiki
No edit summary
mNo edit summary
Line 6: Line 6:
-->
-->


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.
{{DISPLAYTITLE:GstInference Overlay Elements|noerror}}
 
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 34: Line 36:
|}
|}


=Installation=
==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:
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:

Revision as of 19:42, 31 January 2020




Previous: Metadatas/GstDetectionMeta Index Next: Overlay Elements/Classification Overlay





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.

Element Description Status
classificationoverlay Creates a text overlay with the most probable class on an incoming buffer with classification metadata Complete
detectionoverlay Draws a square with its respective label for every bounding box contained in the buffer's detection metadata Complete
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. Complete
inferenceoverlay Draws a square with its respective label for every bounding box contained in the buffer's inference metadata Complete
segmentationoverlay - Coming soon

Installation

To build the overlay elements you need OpenCV >= 3.3.1. Enable or disable the construction of the overlay elements using the option --<enable/disable>-opencv during autogen or configure:

./autogen.sh --enable-opencv #Build the elements (default)
./autogen.sh --disable-opencv #Don't build the elements


Previous: Metadatas/GstDetectionMeta Index Next: Overlay Elements/Classification Overlay