GstInference Classification Overlay element

From RidgeRun Developer Wiki



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




This element consumes the classification metadata introduced in the buffer by our family of classification elements: InceptionV2 and InceptionV4. This element uses GstClassificationMeta. This element finds the highest probability among the meta and adds a text overlay to the buffer that displays this information.

Classification overalay example

Properties

The classificationoverlay element exposes the following properties to control the overlay size, position, 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="cat;dog;bird"

Example

For example, for pipelines using classificationoverlay element please check the example pipelines section.


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