Access all pixel values from each bbox

• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 6.1
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only) 510.47.03
• Issue Type( questions, new requirements, bugs) questions

I would need to get all pixel values from each bounding box given by the primary detector. It can be RGB or YUV. What is the best way to do this?

Hi, if you just want to save the picture. You can set the [img-save] parameter. If you want to save it from the code, you can add some code in the probe function, please refer the code:


Yes I know this sample, but I would like to get raw pixel values. This sample encodes ans saves the bbox to images. Is there any sample code to access the pixel values?

You can refer the topic below: