Dsexample How I can use this as a pre-processing function

Please provide complete information as applicable to your setup.

**• Hardware Platform -------------> GPU
**• DeepStream Version ------------> 7.0
• TensorRT Version -------------> 8.9
• NVIDIA GPU Driver Version (valid for GPU only) --------> 545


  1. Can I use this as a pre-processing and able to crop frame as a polygon shape and give to detector ?
  2. If yes 1st question ! If I have a second detector which can work for different ROI does the frame will flow after dsexample that polygon shape or the whole frame will contain the metadata ?

Do you mean your detector model needs polygon shape input?

What do you mean by this?