Difference between revisions of "GstInference/Overlay Elements/Embedding Overlay"

From RidgeRun Developer Connection
Jump to: navigation, search
m
m
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
{{GstInference/Head|previous=Overlay Elements/Detection Overlay|next=Crop Elements|keywords=}}
+
{{GstInference/Head|previous=Overlay Elements/Detection Overlay|next=Overlay Elements/Inference Overlay|keywords=}}
 
</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/Detection Overlay|Crop Elements}}
+
{{GstInference/Foot|Overlay Elements/Detection Overlay|Overlay Elements/Inference Overlay}}
 
</noinclude>
 
</noinclude>

Revision as of 02:18, 17 February 2020



Previous: Overlay Elements/Detection Overlay Index Next: Overlay Elements/Inference Overlay





This element consumes the classification metadata introduced in the buffer by our facenet element(FaceNet). This element uses GstEmbeddingMeta. The element uses openCV to draw on the input frame, draws a green border and writes "Pass" on the frame if its embedding is close to a known value or a red border and "Fail" otherwise.

Embedding overalay example

Properties

The embeddingoverlay element expose the following properties to control the boxes' thickness, color, etc. These properties are documented on 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
labels String Semicolon separated string containing inference labels. For example: labels="face1;face2;face3"

Example

For example pipelines using embedding element please check the example pipelines section.


Previous: Overlay Elements/Detection Overlay Index Next: Overlay Elements/Inference Overlay