Arduino-OpenCV-Human-Follower
Arduino-OpenCV-Human-Follower copied to clipboard
Face detector and follower using Arduino and OpenCV in Python
Arduino-OpenCV-Human-Follower

- Dependencies
- Hardware
- Setup and Algorithm
Dependencies
- PySerial
- OpenCV for Python
Hardware
- Arduino Uno
- Chassis
- webcam
- motor driver
The assembled chassis with webcam looks like this.

Setup and Algorithm
The project uses OpenCV library with python for building an algorithm to detect humans by tracking faces. The hardware is based on Arduino microcontroller and an external webcam connected via an intermediate personal computer where all the image processing takes place. Both the Arduino and the webcam are mounted on a chassis.
Based on the position and size of the face detected, signals from the computer are serially communicated to the Arduino which in turn controls the bot to move accordingly to keep tracking the human face.