source: level2/competencies/facedetect/README @ 234

Revision 77, 1.3 KB checked in by amol, 11 years ago (diff)
Line 
1//----------------------------------------------
2// Heriot-Watt University
3// MACS
4// www.lirec.eu
5// author: Amol Deshmukh
6// Date: 17/03/2009
7//-----------------------------------------------
8
9
10I) Pre-requisites
111) Opencv (http://sourceforge.net/projects/opencvlibrary/)
12
13II) Running the program
141) run make in the directory, may have to adapt directory paths inside FaceDetect.cpp
15(constructor) and Makefile to use your own paths.
16
172) run ./FaceDetect to start the program
18
19III) Functionality and features
20
211) Reduce false detection by determining largest probable face in an image
22cutting the ROI (probable face in the image) then again perform face detection on sub image.
23see FaceDetect.pdf for simple illustration.
24
252) Calculate approximate angles from camera focal point to detected face (X,Y degrees)
26
273) Calculate the approximate distance of face from camera using difference between
28Face bounding Box and image size. Currently works with 640 * 480
29resolution with a threshold value of 297000 to detect face in range of 80cm to 100cm.
30
314) Please note that this face detection implementation detects only one face at a time,
32in case of multiple users it will detect the largest/closest face to the camera.
33
34In case of questions please ask Amol Deshmukh a.deshmukh@hw.ac.uk
Note: See TracBrowser for help on using the repository browser.