Access all pixel values from each bbox

• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 6.1
• TensorRT Version 8.2.5.1
• 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?
Thanks

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:

/opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-image-meta-test/deepstream_image_meta_test.c

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?
Thanks

You can refer the topic below:
https://forums.developer.nvidia.com/t/access-frame-pointer-in-deepstream-app/79838