This program is meant to classify the race of facial images between asian and non-asian. Here is some methods that I implement:
- OpenCV's Haar casecade detection.
- OpenCV's Histogram Equalization.
- (More enhancements suggestions are welcome)
- Fisherface. This is basically a combination of sklearn's Principal Component Analysis and sklearn's Linear Discriminant Analysis.
- Sklearn's K-Nearest Neighbors
In order to use this program, you need to download the FairFace dataset.
- run
preprocessing.py
- run
equalization.py
- run
main.py