Nvidia Deepstream YOLO Python App
Here is the code and the Python apps I used to Run the Nvidia Deepstream YOLO Object detector app.
The Ignition maker app for ignition designer is also included in this Repo incase you want to import it into Ignition designer.
This Repo also contains sparkplug stuff and Deepstream YOLO Config files.
If you clone this Repo and install it on youre Nano or Xavier NX at this location.
/opt/nvidia/deepstream/deepstream-5.0/sources/deepstream_python_apps/apps
It should be able to run out of that folder.
Will run a I.P. camera or a MP4 file and display the Video stream on youre XavierNX or nano
and also send metadata via sparkplug to the Ignition Maker app.
I.P. Example:python3 deepstream_ignition_IP_File_yolo.py 'rtsp://172.16.2.157:554/user=admin&password=&channel=1&stream=0.sdp?'
MP4 file example:python3 deepstream_ignition_IP_File_yolo.py file:////opt/nvidia/deepstream/deepstream=5.0/samples/streams/video.mp4
Will run a webcam and display the Video stream on youre XavierNX or nano
and also send metadata via sparkplug to the Ignition Maker app.
webcam example:python3 deepstream_ignition_usb_yolo.py /dev/video0
Will run a I.P. camera or a MP4 file and and stream out a RTSP stream
and also send metadata via sparkplug to the Ignition Maker app.
I.P. Example:python3 deepstream_ignition_IP_File_rtsp_yolo.py 'rtsp://172.16.2.157:554/user=admin&password=&channel=1&stream=0.sdp?'
MP4 file example:python3 deepstream_ignition_IP_File_rtsp_yolo.py file:////opt/nvidia/deepstream/deepstream=5.0/samples/streams/video.mp4
Will run a webcam and and and stream out a RTSP stream
and also send metadata via sparkplug to the Ignition Maker app.
webcam example:python3 deepstream_ignition_usb_rtsp_yolo.py /dev/video0
Is the ignition maker app you can import into ignition designer