FaceRecognitionUsing-PCA-2D-PCA-And-2D-Square-PCA
FaceRecognitionUsing-PCA-2D-PCA-And-2D-Square-PCA copied to clipboard
Implementation of PCA/2D-PCA/2D(Square)-PCA in Python for recognizing Faces: 1. Single Person Image 2. Group Image 3. Recognize Face In Video
FaceRecognitionUsing-PCA-2D-PCA-And-2D-Square-PCA
Implementation of PCA/2D-PCA/2D(Square)-PCA in Python for recognizing Faces:
- Single Person Image
- Group Image
- Recognize Face In Video
Accuracy on ORL dataset
- PCA(93.42%)
- 2D-PCA(96.05%)
- 2D(Square)-PCA(97.36%)
Requirements
- numpy
- opencv
- scipy
Usage
- In Face_Recognition class use algo_type from (pca, 2d-pca, 2d2-pca)
- In Face_Recognition class use reco_type as
- for single image = 0
- for video = 1
- for group image = 2
- The project uses ORL dataset, You can put your dataset in the images folder and change the name of the dataset in the dataset.py file (You can create new dataset by extracting faces using FaceExtractor provided)
- Run Face_Recognition and Enjoy Project
Videos
-
2D-PCA-Face Recognition(Two Dimensional Principal Component Analysis) Playlist
-
A Complete Understanding of PCA(Principal Component Analysis)
Liked my work?
Websites
https://github.com/Parveshdhull
https://twitter.com/ParveshMonu
https://youtube.com/right2trick
