Skip to content

MuteBardTison/FaceRecognition

Repository files navigation

Face Recognition

Build Status release

This is an implementation of EigenFace Recognition Algorithm with OpenCV in C++.

Using approximately centered Yale-faces images and test Yoda image to find the closest image in the training dataset.

Using the boost filesystem library instead of the CSV file.

Usage

cd <source directory>
mkdir build output
cd build
cmake ..
make
  • without output folder
./FaceRecognition ../yalefaces-centered/ ../Test-Yoda/
  • with output folder
./FaceRecognition ../yalefaces-centered/ ../Test-Yoda/ ../output

Output

Demonstrating with iTerm2

screenshot

Reference

Eigenfaces for Recognition. Turk, M. and Pentland, A. (1991).

License

MIT © Zihan Qi