/storoc_pi

Repo for the storoc embedded system and object detection integration

Primary LanguagePython

storoc_pi

Installation steps not guaranteed work without adjustments on devices other than the Raspberry Pi 4 using PiCamera V2.1.

Installation steps for Raspberry Pi

Update Raspberry Pi

sudo apt-get update && sudo apt-get dist-upgrade

Setting up virtual environment

Install virtualenv package

sudo pip3 install virtualenv

Create virtual environment

python3 -m venv storoc

Source virtual environment

source storoc/bin/activate

Install TensorFlow Lite dependencies and OpenCV

Run the shell script included in the repository which will take care of this

bash install-requirements.sh

Note - if trying to run this step on a different machine than raspberry pi a different TensorFlow Lite version must be installed.

Example command for people_counter.py

python3 people_counter.py --prototxt mobilenet_ssd/MobileNetSSD_deploy.prototxt --model mobilenet_ssd/MobileNetSSD_deploy.caffemodel --input testvid2.avi --output output1.avi