This project operates a pan-tilt-servo camera bracket by an Arduino to track any object. It uses OpenCV a real time computer vision library, to detect object and the information is relayed onto the Arduino, which control the Servo Motors connected to the mount, and tracks the target.
The Codes for the project are written in Python and Arduino Programming Language.
1. 2 S690 Servo Motors
2. Pan-Tilt Assembly
3. Arduino UNO
4. WebCam
5. Laptop/PC
A mask is created by the user, by adjusting the sliders that control the HSV ranges to effectively track the target.
Once mask is set, hit Enter or SpaceBar to lock the mask.
OpenCV then tracks the target, by locating its contours and relays the positional information to Arduino for Servo Control.
Camera is guided by the positional information relayed by the Arduino to the Servo Motors, keeping the target always at the centre of the frame.
Implementing faster and more accurate tracking algorithms.