GstInference Overlay Elements
Make sure you also check GstInference's companion project: R2Inference |
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