Professional Documents
Culture Documents
Face Detection
Face Detection
Feature Extraction
haarcascade_frontalface_default.xml
Running OpenCV
photos
I used my own photos to test with, but are only for testing
purpose (I own all copyrights to these photos). The photos were
either taken at a public event or from my photography portfolio.
For uniformity in testing, I chose an image resolution size
of 500 x 331 pixels in JPEG format for each photo tested. I
don’t need to test large resolution files for this project, but
OpenCV can be used for that as well.
In order to run OpenCV, just make sure you execute it from the
command prompt under the working directory where you
dumped all your files. Your computer may not process the code
as fast as a more recent configuration if you are using a older
generation x86 processor. I had an i3 mobile Intel processor
(Arrandale) which has decent performance, but a higher clocked
core processor will certainly outperform it. At the command
prompt type the following command: