Difference between revisions of "GstInference/Overlay Elements/Inference Overlay"
m |
|||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | {{GstInference/Head|previous=Overlay Elements | + | {{GstInference/Head|previous=Overlay Elements|next=Helper Elements|keywords=|title=GstInference Inference Overlay element}} |
</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 37: | Line 37: | ||
<noinclude> | <noinclude> | ||
− | {{GstInference/Foot|Overlay Elements | + | {{GstInference/Foot|Overlay Elements|Helper Elements}} |
</noinclude> | </noinclude> |
Revision as of 17:41, 5 April 2021
Make sure you also check GstInference's companion project: R2Inference |
This element consumes the inference metadata described in GstInferenceMeta. It draws each bounding box with its respective labels.
Properties
The inferenceoverlay element exposes the following properties to control the boxes' thickness, color, etc. These properties are documented in 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
Example
For example, pipelines using inferenceoverlay element please check the example pipelines section.