|
|
Line 7: |
Line 7: |
| --> | | --> |
|
| |
|
| 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. | | Alongside GstInference's inference plugins, we provide an element that helps to visualize inference results on GStreamer. This section provides documentation on this element. |
| {| class="wikitable" style="margin-right: 22em;" | | {| class="wikitable" style="margin-right: 22em;" |
| |- | | |- |
Line 13: |
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/GstInferenceMeta|Overlay Elements/Classification Overlay}} | | {{GstInference/Foot|Metadatas/GstInferenceMeta|Overlay Elements/Classification Overlay}} |
| </noinclude> | | </noinclude> |