OpenCV C++ (attached) techbitarFaceDetection.cpp (based on OpenCV's example facedetect.cpp) Software Required Arduino IDE 1.0 for Windows OpenCV 2.3.1 SuperPack For Windows Microsoft Visual C++ 2010 Express SP1 Serial C++ Library for Win32 (by Thierry Schneider) So Instead, I opted for Microsoft Visual C++ 2010 Express and the latest version of OpenCV which is 2.3.1 without any middleware or wrappers. I tried to install Processing and OpenFrameworks with no luck. I also benefited from Ryan Owens' tutorial () which is based on Processing, OpenFrameworks, and an earlier version of OpenCV. This project would not have been possible without the team who developed OpenCV. I removed some of the unnecessary code and added serial communications to it so it can send X,Y values to Arduino. The image processing C++ code samples are provided with the openCV library and all I did was to modify the sample code for this project. This is an integration project between hardware and software tools. OpenCV (Open Source Computer Vision Library: ) is an open-source library that includes several hundreds of real-time computer vision algorithms. The Arduino controls the movement of the webcam with the help of two pan/tilt servos to follow the detected face. The coordinates are then passed on to the Arduino via a serial USB connection. If OpenCV detects a face it will track it and calculate its center's X,Y coordinates. Basically, the webcam sends video frames to OpenCV running on a Windows PC.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |