hailo-ai / hailo-rpi5-examples

MIT License
387 stars 59 forks source link

Include compatibility with RTSP #39

Open chm10 opened 3 months ago

chm10 commented 3 months ago

Description: The current implementation not includes basic RTSP support.

chm10 commented 3 months ago

Before run

From you PC connect to raspberry

ssh -X ssh -X <user>@<IP>

Active X (VNC) on raspberry . sudo rasp-config

Maybe need some of this libraries installed

sudo apt-get update
sudo apt-get install python3-gi python3-gi-cairo gir1.2-gtk-3.0
sudo apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio

Before run:

 . setup_env.sh
 cd hailo-rpi5-examples 

To run #40

python basic_pipelines/detection.py --input rtsp://<username>:<password>p@<IP>:554 --video-sink autovideosink

To run #41

python basic_pipelines/detection.py --input rtsp://<username>:<password>p@<IP>:554