Installation steps not guaranteed work without adjustments on devices other than the Raspberry Pi 4 using PiCamera V2.1.
sudo apt-get update && sudo apt-get dist-upgrade
Install virtualenv package
sudo pip3 install virtualenv
Create virtual environment
python3 -m venv storoc
Source virtual environment
source storoc/bin/activate
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.
python3 people_counter.py --prototxt mobilenet_ssd/MobileNetSSD_deploy.prototxt --model mobilenet_ssd/MobileNetSSD_deploy.caffemodel --input testvid2.avi --output output1.avi