{"id":25175134,"url":"https://github.com/dakohhh/politicians-face-recognition","last_synced_at":"2026-04-16T10:35:40.704Z","repository":{"id":175232153,"uuid":"653506321","full_name":"dakohhh/politicians-face-recognition","owner":"dakohhh","description":"A machine learning model where we classify famous Nigerian politicians. We restrict classification to only 4 people","archived":false,"fork":false,"pushed_at":"2023-06-26T08:05:30.000Z","size":5831,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T00:44:54.305Z","etag":null,"topics":["gridsearchcv","jupyter-notebook","machine-learning","opencv","python","pywavelets","scikit-learn"],"latest_commit_sha":null,"homepage":"https://politician-image-classifier.netlify.app","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dakohhh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-14T07:31:48.000Z","updated_at":"2023-07-03T05:36:13.000Z","dependencies_parsed_at":"2023-07-04T01:01:44.098Z","dependency_job_id":null,"html_url":"https://github.com/dakohhh/politicians-face-recognition","commit_stats":null,"previous_names":["dakohhh/politicians-face-recognition"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dakohhh/politicians-face-recognition","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dakohhh%2Fpoliticians-face-recognition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dakohhh%2Fpoliticians-face-recognition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dakohhh%2Fpoliticians-face-recognition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dakohhh%2Fpoliticians-face-recognition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dakohhh","download_url":"https://codeload.github.com/dakohhh/politicians-face-recognition/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dakohhh%2Fpoliticians-face-recognition/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31882668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T09:23:21.276Z","status":"ssl_error","status_checked_at":"2026-04-16T09:23:15.028Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gridsearchcv","jupyter-notebook","machine-learning","opencv","python","pywavelets","scikit-learn"],"created_at":"2025-02-09T12:28:58.300Z","updated_at":"2026-04-16T10:35:40.687Z","avatar_url":"https://github.com/dakohhh.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# POLITICIAN IMAGE CLASSIFIER \n\nA 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.\n\n## POLITICIANS\n\n* Bola Tinubu\n* MUhammadu Buhari\n* Atiku\n* Peter OBi\n\n[![politicians](https://res.cloudinary.com/do1iufmkf/image/upload/v1687764729/pkimms3fnouq5mittqxe.png)](https://politician-image-classifier.netlify.app/)\n\n#\n[![politicians](https://res.cloudinary.com/do1iufmkf/image/upload/v1687764729/aimlqswl7lftk31lzdv7.png)](https://politician-image-classifier.netlify.app/)\n\n## 🛠 Tech Stack\nA list of technologies used within the project:\n* [Python](https://www.python.org/) \n* [Jupyter Notebook](https://jupyter.org/)\n* [Open CV](https://opencv.org/)\n* [scikit-learn](https://scikit-learn.org/)\n* [Flask](https://flask.palletsprojects.com/en/2.3.x/)\n* [PyWavalets](https://opencv.org/)\n* [Bootstrap](https://getbootstrap.com/docs/5.3/getting-started/introduction/)\n\n\n## Featuers\n* Image Processing and haarcarscades with opencv\n* Image Transform and Feature Extraction with PyWavalets\n* Model creation with scikit-learn, Logistic Regression performed best.\n* Hyperparameter Tuning With Grid Search CV \n* Saved Model with Joblib\n* Flask Backend Integration\n* Bootstrap, HTML and Javascript for Frontend\n\n\n## Installation and Usage\n\n```bash\npython3 -m venv env\n```\n\n```bash\npip install requiremenst.txt\n```\n\n```bash\njupyter notebook\n```\n\n```bash\nflask run\n```\n\n    \n## 🔗 Links\n[![portfolio](https://img.shields.io/badge/my_portfolio-000?style=for-the-badge\u0026logo=ko-fi\u0026logoColor=white)](https://wisdomdakoh.netlify.app/)\n[![linkedin](https://img.shields.io/badge/linkedin-0A66C2?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white)](https://www.linkedin.com/in/wisdomdakoh/)\n[![instagram](https://img.shields.io/badge/instagrm-f21d6b?style=for-the-badge\u0026logo=instagram\u0026logoColor=white)](https://www.instagram.com/propa.wd/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdakohhh%2Fpoliticians-face-recognition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdakohhh%2Fpoliticians-face-recognition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdakohhh%2Fpoliticians-face-recognition/lists"}