Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 529 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 529 Bytes

basic-face-detection

Basic face detection using C++ and OpenCV 3.0, faces are detected and their coordinates are printed to console.

How to compile

You must have OpenCV 3.0 installed, easiest to use CMake to compile.

cmake .
make

How to run

./facedetect

Parameters to change

You must add the path to a valid Haar file within the main.cpp file, this file is easy to find online. Multiple versions exist for specific face positions. You also need to add the path to a valid image to analyse.