https://github.com/dakohhh/politicians-face-recognition
A machine learning model where we classify famous Nigerian politicians. We restrict classification to only 4 people
https://github.com/dakohhh/politicians-face-recognition
gridsearchcv jupyter-notebook machine-learning opencv python pywavelets scikit-learn
Last synced: 7 months ago
JSON representation
A machine learning model where we classify famous Nigerian politicians. We restrict classification to only 4 people
- Host: GitHub
- URL: https://github.com/dakohhh/politicians-face-recognition
- Owner: dakohhh
- Created: 2023-06-14T07:31:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-26T08:05:30.000Z (over 2 years ago)
- Last Synced: 2025-02-19T12:11:47.262Z (8 months ago)
- Topics: gridsearchcv, jupyter-notebook, machine-learning, opencv, python, pywavelets, scikit-learn
- Language: Jupyter Notebook
- Homepage: https://politician-image-classifier.netlify.app
- Size: 5.56 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# POLITICIAN IMAGE CLASSIFIER
A machine learning model where we classify famous Nigerian politicians. Model was Built with python's scikit-learn library and fined tuned with Grid Search CV for hyperparameter tuning.
## POLITICIANS
* Bola Tinubu
* MUhammadu Buhari
* Atiku
* Peter OBi[](https://politician-image-classifier.netlify.app/)
#
[](https://politician-image-classifier.netlify.app/)## 🛠Tech Stack
A list of technologies used within the project:
* [Python](https://www.python.org/)
* [Jupyter Notebook](https://jupyter.org/)
* [Open CV](https://opencv.org/)
* [scikit-learn](https://scikit-learn.org/)
* [Flask](https://flask.palletsprojects.com/en/2.3.x/)
* [PyWavalets](https://opencv.org/)
* [Bootstrap](https://getbootstrap.com/docs/5.3/getting-started/introduction/)## Featuers
* Image Processing and haarcarscades with opencv
* Image Transform and Feature Extraction with PyWavalets
* Model creation with scikit-learn, Logistic Regression performed best.
* Hyperparameter Tuning With Grid Search CV
* Saved Model with Joblib
* Flask Backend Integration
* Bootstrap, HTML and Javascript for Frontend## Installation and Usage
```bash
python3 -m venv env
``````bash
pip install requiremenst.txt
``````bash
jupyter notebook
``````bash
flask run
```
## 🔗 Links
[](https://wisdomdakoh.netlify.app/)
[](https://www.linkedin.com/in/wisdomdakoh/)
[](https://www.instagram.com/propa.wd/)