Is there a way to print RAW image buffer in deepstream source code? I am using deepstream-test3.c code for reference

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU)**GPU RTX 2060
• DeepStream Version 5.0
• JetPack Version (valid for Jetson only)
• TensorRT Version 7.0.0
• NVIDIA GPU Driver Version (valid for GPU only) 460
• Issue Type( questions, new requirements, bugs) question
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I want to print Raw image data read from source file for debugging. How to achieve that?

Do you mean you want to dump raw RGB(YUV) data from the sources? If so, please add filesink plugin after your source. filesink
You can add it in create_source_bin()

No, not save the frame to a file but print the matrix in console or file., the Image array.

Please refer to the sample in /opt/nvidia/deepstream/deepstream/sources/gst-plugins/gst-dsexample, how to read the surface into opencv matrix.