GstInference inferencecrop

From RidgeRun Developer Wiki




Previous: Helper Elements/Inference Filter Index Next: Helper Elements/Inference Debug




This element receives all the buffers, read the inference metadata and crop the elements that are enabled to process, it crops the image, creates a new buffer and copy the inference metadata of the element. This element uses GstInferenceMeta.

Detection crop example

GstInference inferencecrop properties

The inferencecrop element exposes the following properties to control the aspect ratio. These properties are documented in the following table:

Property Value Description
aspect-ratio fraction [ 0/1, 2147483647/1] Aspect ratio to crop the detections, width and height separated by '/'. If set to 0/1 it maintains the aspect ratio of each bounding box.

Example

For example, pipelines using inferencecrop element please check the Legacy pipelines section.


Previous: Helper Elements/Inference Filter Index Next: Helper Elements/Inference Debug