Obtain the image data from NV12 buffer

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) :- Jetson Xavier
• DeepStream Version :- 6.0

I have a pipeline where I’m processing JPEG images. I’m trying to get the image data from NV12 buffer and I want to do this in a probe function.

Is there any way to do this ?

Please refer to our source code: sources\apps\sample_apps\deepstream-image-meta-test

osd_sink_pad_buffer_probe

this will only save the detected objects, Im looking for the entire image.

It’s just an example. You can change the rect_params of the obj_meta to save any size of the picture. If you want to save the whole picture, you can set the top, left to 0, width and height to the width and height of the picture.

1 Like

Thanks !!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.