The Turret Robot 2.0 is a face tracking robot. The robot lights up the face its tracking when it points the face.
The turret is controlled by a software written in C++ using the OpenCV library The Arduino commands the vertical and horizontal servos. The software plays Portal voices :) (using mplayer)
The system works this way :
-The robots is on patrol -The software grabs a picture from webcam -The software analyze the picture, trying to find a face -If a face is detected, the software orders the Arduino to move servos to point the face, if the face is on the middle of the picture, the software orders the Arduino to light up its leds. -Else the robot continue its patrol
All sources are available on http://devio.us/~guiben/?q=projects#Turret under a Creative Common BY SA license
Nice work. This is cool stuff, and what I plan to implement on my next robot using a wifi webcam and a pan and tilt kit (Dagu perhaps). Can you give me any pointers or useful links for getting started with OpenCV video processing on Windows using Visual Studio 2008?
The camera is a Logitech C250, I use it because it’s very well supported thanks to USB Video Class, but in reality, it’s not directly connected to the Arduino, indeed, the camera is connected to the PC, and the software is connected to the Arduino.
So the software is a kind of platform between the camera and the Arduino
Lol, it’s because my english teacher is an Amrican Patriotic, so with my project partner, we decided to put the Marines Hymn, and an “US Army approved” ^^
I am going to have a swing at Python with OpenCV! I’ve already done a few programs that communicate with Bluetooth devices using python, and it is easy to make GUIs in Windows with wxPython. I recently learned Python and think its the best thing since sliced bread, but C is also where its at.