Ds-example custom plugin

**• Hardware Platform- Jetson Xavier
**• DeepStream Version- 6.1
**• Jetpack Version- 5.0.2

I have an anomaly detection model that produces an image as output. I aim to measure the dissimilarity between the input image (current frame) and the model’s output. Currently, I am using the following pipeline: v4l2src → nvpreprocess (ROI) → nvinfer → dsexample. Within the dsexample plugin, I am modifying the blur_objects function. My approach involves post-processing the output image first and then computing the difference between the input image and the post-processed output. I am curious if this method is suitable or if there are alternative approaches to achieve the same goal. Also, can I use queue in my pipeline to send the current frame to nvinfer as well as dsexample plugin?

Your implementation is OK.

What do you mean?

How can I retrieve the current original frame as well as the output image frame from the nvinfer plugin within my custom ds-example plugin?

hey, any solution for accessing the current original frame as well as output image frame from the nvinfer plugin within ds-example plugin?