Using RTSP stream in Raspberry Pi5

I ran image detection from the sample detectio.py file cloned from GitHub - hailo-ai/hailo-rpi5-examples. We have three sources at our disposal - RPi camera, camera USB and file. What file modifications must be made to use the RTSP stream from an IP camera for analysis?

Welcome to the Hailo Community!

I would recommend looking at our Tappas examples

GitHub Tappas Multistream Detection

and our Hailo Application Code Examples

GitHub Hailo Application Code Examples Multistream App

The both also support RTSP. I am not sure how much effort it will take to adapt them but the examples should get you started.

Also check out the other examples in both repositories. I do not know them all in and out.