Based on tutorial from PyImageSearch: [https://www.pyimagesearch.com/2017/10/16/raspberry-pi-deep-learning-object-detection-with-opencv/]
- [if using pi headless,
ssh -X user@hostname
to use X11 forwarding git clone https://github.com/nikmart/pi-object-detection.git
cd pi-object-detection
pip3 install imutils
python3 realtime_object_detection.py --prototxt MobileNetSSD_deploy.prototxt.txt --model MobileNetSSD_deploy.caffemodel
- On the GUI window git
q
to quit python3 people_counter.py --prototxt MobileNetSSD_deploy.prototxt.txt --model MobileNetSSD_deploy.caffemodel