I have followed all the instructions to setup the python binding for the deepstream. However, stuck in the initial execution while importing the pyds. Not sure what I am missing here. Any help is much appreciated.
Thanks for the reply. Yes I have done all that is listed in that documentation link.
In my case, the input itself is an rtsp stream, and i also want to stream the output as well to rtsp. I checked with the deepstream-app compiled executable and this works fine. I am trying to do same using python binding so i can make some changes that I want to do.
But i think I have not gone that far. The initial loading of the pyds itself is an issue. I checked if this is an path issue, but I can see pyds.so in /usr/local/lib/python3.6/dist-packages/ and also the sys.path includes this location as well. Still it wont import.
Yes, I am able to find pyds.so in the /opt/nvidia/deepstream/deepstream-5.1/lib. After running “python3 setup.py install” from that location the pyds.so is successfully installed to /usr/local/lib/python3.6/dist-packages as well. I have checked, this path is already included in the sys.path. But still “import pyds” wont work.
Thanks for the help. Reinstall fixed the issue and i am able to import the pyds. I must have mistakenly installed x86_64 version of deepstream in the jetson during my previous install.
I also understand that I need to change the python code to use the rtsp input.