Getting frame data in python


I am using deepstream-test3.

I have successfully obtain the bounding box data in tiler_src_pad_buffer_probe()

I found some answers pointing to gst-dsexample but that’s written in c.

I want to know the exact code in python for getting the real-time frame, process it using opencv and save it to jpg.

Thank you.

I want to know where I can find the documentations for these classes and objects too.


I think python APIs exist.

Here is a python example.
The source code should be helpful for you: It is from repository

Maybe a directory named deepstream_python_apps already exists in /opt/nvidia/deepstream/deepstream-5.0 on your platform.