Writing gst-dsexample in python

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU) jetson agx xavier
**• DeepStream Version 5.0
**• JetPack Version (valid for Jetson only) 4.4

make and run gst-dsexample.cpp successfully. Just wonder if there is a way to develop gst-dsexample like plugin in python? where is the resource. (I am aware of python binding and did run the deepstream_test_3.py successfully. but just not sure we can use the same binding to develop the plugin directly)

Please advise. Thanks.

The python gst plugin can be developed based on gst python binding, but it can only be used in python enviroment and there are some lilimtations with this method.
There are some guys who have provided their experiences:


https://mathieuduponchelle.github.io/2018-02-01-Python-Elements.html?gi-language=undefined#
1 Like

Hi Fiona.Chen,

Thank you. It’s very helpful.

Hi,

Have anyone accomplished integrating the python-based plugins (gst-dsexample written in Python for example) with deepstream plugins?

It would be really helpful if you could share your results.

Thanks.

This is impossible because there isn’t Python NvBufSurf API to crop, flip and others operations on a frame