/Pan-And-Track-Pi

Simple object tracker based on OpenCV with the Raspberry Pi camera and a 9g servo-based Pan and Tilt

Primary LanguagePythonGNU Lesser General Public License v2.1LGPL-2.1

Pan-And-Track-Pi

Simple object tracker based on OpenCV with the Raspberry Pi camera and a 9g servos Pan and Tilt

Dependencies

Before running the main script boundTracking.py you should install if haven't got: OpenCV, pip, imutils and picamera.

For installing OpenCV you can visit this wonderful tutorial (and remember to have fresh beer near you, it will take a looong time):

https://www.pyimagesearch.com/2017/09/04/raspbian-stretch-install-opencv-3-python-on-your-raspberry-pi/

The others are really straight forward:

sudo apt-get install python-pip
pip install picamera
pip install imutils
wget https://raw.githubusercontent.com/ivmech/ivPID/master/PID.py
pip install RPi.GPIO
pip install socket
pip install pil