How to send a custom crop to sgie input?

My pipeline contains pgie, align_plugin (like gst-dsexample) and sgie. In my align_plugin, I get a surface, crop box, do some custom postprocessing (affine transformation), and then I want to send postprocessed crop (cv::Mat) to sgie as input. Please tell me how it can be done correctly?

Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

please refer to deepstream-preprocess-test, but it will do custom crop before pgie.


DeepStream nvdspreprocess does not support SGIE now. We have this feature in out roadmap.

Hello @v.burachonak Please allow me to close this topic as the feature is not supported on current version, feel free to submit topic if you have new questions, thanks.