https://github.com/abdel-17/facial-recognition
Facial recognition using Machine Learning in Python
https://github.com/abdel-17/facial-recognition
machine-learning pca python scikit-learn
Last synced: 2 months ago
JSON representation
Facial recognition using Machine Learning in Python
- Host: GitHub
- URL: https://github.com/abdel-17/facial-recognition
- Owner: abdel-17
- Created: 2023-02-06T04:16:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-06T05:13:50.000Z (over 3 years ago)
- Last Synced: 2025-10-26T16:59:35.383Z (8 months ago)
- Topics: machine-learning, pca, python, scikit-learn
- Language: Jupyter Notebook
- Homepage:
- Size: 3.53 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Facial Recognition
Recognize faces using Machine Learning algorithms in Python.
## Libraries Used
1. OpenCV for reading the image files
2. NumPy for mathematical computation
3. Matplotlib for plotting images
4. scikit-learn for ready-made training and testing different Machine Learning models.
## Algorithm
1. We extract the zip files and read the 400 images files using OpenCV.
2. PCA is applied to reduce the large number of dimensions, which both
speeds up training and helps the models focus on the important bits.
3. Two train-test split strategies are used:
1. even-odd row split
2. 70-30% split
4. Different models are used for training:
1. KNN
2. SVM with three different kernels
3. Gauusian Naive Bayes