Tim M 57b5cefde5 Updated all `.md` files to contain newest image 2 سال پیش
..
test 5e9c99a296 working version. Eigen Face Reconstruction 7 سال پیش
README.md 57b5cefde5 Updated all `.md` files to contain newest image 2 سال پیش
createPCAModel.cpp 5e9c99a296 working version. Eigen Face Reconstruction 7 سال پیش
createPCAModel.py 5e9c99a296 working version. Eigen Face Reconstruction 7 سال پیش
dirent.h f2d6506312 Adding direct.h 7 سال پیش
reconstructFace.cpp 959609e47a OpenCV 4.0 compatibility fixes. 4 سال پیش
reconstructFace.py 5e9c99a296 working version. Eigen Face Reconstruction 7 سال پیش

README.md

Face Reconstruction using EigenFaces

The repository contains code for the blog post Face Reconstruction using EigenFaces.

EigenFaces

download

Steps to Train you own Model

  1. Download images. These images are the first 1000 images of the CelebA dataset. You can create a larger model by using more aligned and cropped images from the CelebA dataset.
  2. Use createPCAModel.cpp or createPCAModel.py to create the modelfile pcaParams.yml.
  3. Use reconstructFace.cpp or reconstructFace.py to reconstruct the face. It needs the pcaParams.yml file.

AI Courses by OpenCV

Want to become an expert in AI? AI Courses by OpenCV is a great place to start.