Difference between revisions of "GstInference/Helper Elements/Inference Filter"

From RidgeRun Developer Connection
Jump to: navigation, search
(Properties)
Line 6: Line 6:
 
-->
 
-->
  
Our [[GstInference/Metadatas/GstInferenceMeta|GstInferenceMeta]] behaves in a hierarchical manner; i.e, amongst the several predictions a buffer might contain, each prediction may contain its own predictions. The inference filter element provides the functionality of selecting which of this predictions to process in further stages of the pipeline, by setting the ''enable'' property on each prediction.  
+
Our [[GstInference/Metadatas/GstInferenceMeta|GstInferenceMeta]] behaves in a hierarchical manner; i.e, amongst the several predictions a buffer might contain, each prediction may contain its own predictions. The inference filter element provides the functionality of selecting which of this predictions to process in further stages of the pipeline, by setting the ''enable'' property accordingly.  
  
 
= Properties =
 
= Properties =

Revision as of 15:06, 17 January 2020



Previous: Helper Elements Index Next: Example pipelines




Our GstInferenceMeta behaves in a hierarchical manner; i.e, amongst the several predictions a buffer might contain, each prediction may contain its own predictions. The inference filter element provides the functionality of selecting which of this predictions to process in further stages of the pipeline, by setting the enable property accordingly.

Properties

The inference filter exposes the following properties, in order to select which classes to enable/disable, according to the class_id of the classifications of each prediction.

These properties are documented on the following table:

Property Value Description
filter-class Int [-1 - 2147483647]
Default: -1
Class id we want to enable. If set to -1, the filter will be disabled.
reset-enable Boolean.
Default: false
Enables all inference meta to be processed.

Example

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


Previous: Helper Elements Index Next: Example pipelines