High FPS live stream Raspberry Pi cam with object detection by Google Coral EdgeTPU
Live camera stream: from Raspberry Pi to your local computer host.
Live object detection: with Coral EdgeTPU on host side.
High FPS: 35-45, depending mostly on network condition.
Multiple platform: ready for Ubuntu, MacOS, Windows.
Application scenario: AI-powered surveillance camera.
Install libs needed for Raspberry Pi:
git clone https://github.com/redlogo/RPi-Stream.git
Install libs required for local computer with EdgeTPU unplugged:
bash RPi-requirements.sh
Plug USB EdgeTPU into the host usb 3.0 port.
# Ubuntu
bash computer-hose-requirements-linux.sh
# MacOS
bash computer-host-requirements-macos.sh
# Windows
check out computer-host-requirements-windows.txt
Firstly execute script on RPi side:
# line 20, change it to your local computer host ip
target_ip = '192.168.7.33'
Secondly execute script on local computer host side:
python3 sender_stream.py
To exit, firstly terminate RPi side, then host side.
python3 receiver_stream_object_detection.py
(Windows: try 'python' w/o '3' or use IDE instead of Windows CMD)