Python Bindings for Deepstream 6.4 are not up-to-date

• Hardware Platform (Jetson / GPU): dGPU
• DeepStream Version: 6.4
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only): 535
• Issue Type( questions, new requirements, bugs): New requirement/Bug
• 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 am currently experimenting with the Single View 3D Tracking feature of gst-nvtracker. In the documentation it says that the information from the tracker is included in the metadata. The SDK API suggests that this is true (NVIDIA DeepStream SDK API Reference: Metadata Structures | NVIDIA Docs). Since I use the Python bindings to construct my pipeline, I couldn’t find the attributes when I had a look at the metadata. Looking at the code of the python bindings shows that this was indeed not implemented: deepstream_python_apps/bindings/src/bindnvdsmeta.cpp at master · NVIDIA-AI-IOT/deepstream_python_apps · GitHub . Would it be possible to fix/add that so that we can actually test this very interesting alpha feature?

Do you want to access NvDs3DTracking in python?

It seems that your requirements are similar to this post.

You can add bindings yourself. We will look into it.

Yes exactly, I think that it would be nice to have feature parity atleast in accessing the metadata between Python and C++ (especially since this is the easier part of creating such bindings). Otherwise the Python bindings feel more like a gimmick than a real alternative to the C++ version. Is there a time frame in which you would look into it or should I better go ahead and do it myself?

You can implement your own version first. There are too many topics to deal with, and the official version may be very late.

bindings.patch (17.2 KB)
test4.patch (3.2 KB)

Please refer to the two patches above. The first is for bindings, and the second is for test4.py. It is an example of how to use the bindings.

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