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.
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
Demonstrating with iTerm2
Eigenfaces for Recognition. Turk, M. and Pentland, A. (1991).
MIT © Zihan Qi