Let's Make Robots!

Pan/Tilt Face Tracking

Detects human faces, uses servos to track and point at the face

Using OpenCV to detect and track a human face then converting the coordinates into servo positions so a pan/tilt servos setup will point directly at the face. I use pi-blaster to enable PWM on the Raspberry Pi GPIO pins for servo control. This specific Logitech webcam model is ancient and unknown, I usually use the PlayStation Eye camera but most any USB webcam should work. The Additional Information link to the webpage with full instructions and source code if you are interested in trying this out on your Raspberry Pi. Do not forget to provide external 5V power to servos - Do Not use the 5V GPIO pin on the Pi because there just isn't enough current and it'll reset your Pi.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I'm impressed with you having so many different pages on here all at the same time. Cool. Good job.