nathanrooy / rpi-urban-mobility-tracker

The easiest way to count pedestrians, cyclists, and vehicles on edge computing devices or live video feeds.
GNU General Public License v3.0
122 stars 36 forks source link

RTSP support #25

Open rmichelena opened 3 years ago

rmichelena commented 3 years ago

Hi, adding RTSP support shouldn't be too hard and would allow for more flexible physical installations, e.g. zoom cameras to be able to be farther away or smaller packages transmitting by wifi to the processor. In my case, repurposing a Wyze v2 camera which has excellent performance and optional RTSP firmware.

aweussom commented 2 years ago

Since this is written in Python, it is fairly simple to read RTSP with OpenCV and create a video feed for rpi-urban-mobility-tracker?

I used this as a starting point; Works just fine: https://lindevs.com/capture-rtsp-stream-from-ip-camera-using-opencv/