{"id":23507611,"url":"https://github.com/abdel-17/facial-recognition","last_synced_at":"2026-04-20T10:32:53.956Z","repository":{"id":158175001,"uuid":"597953547","full_name":"abdel-17/facial-recognition","owner":"abdel-17","description":"Facial recognition using Machine Learning in Python","archived":false,"fork":false,"pushed_at":"2023-02-06T05:13:50.000Z","size":3701,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T16:59:35.383Z","etag":null,"topics":["machine-learning","pca","python","scikit-learn"],"latest_commit_sha":null,"homepage":"","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/abdel-17.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,"zenodo":null}},"created_at":"2023-02-06T04:16:04.000Z","updated_at":"2023-05-27T12:58:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"3375275c-5aa9-48c2-8705-34933ec986ca","html_url":"https://github.com/abdel-17/facial-recognition","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abdel-17/facial-recognition","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdel-17%2Ffacial-recognition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdel-17%2Ffacial-recognition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdel-17%2Ffacial-recognition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdel-17%2Ffacial-recognition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdel-17","download_url":"https://codeload.github.com/abdel-17/facial-recognition/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdel-17%2Ffacial-recognition/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32043037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["machine-learning","pca","python","scikit-learn"],"created_at":"2024-12-25T10:33:00.484Z","updated_at":"2026-04-20T10:32:53.948Z","avatar_url":"https://github.com/abdel-17.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Facial Recognition\nRecognize faces using Machine Learning algorithms in Python.\n\n## Libraries Used\n1. OpenCV for reading the image files\n2. NumPy for mathematical computation\n3. Matplotlib for plotting images\n4. scikit-learn for ready-made training and testing different Machine Learning models.\n\n## Algorithm\n1. We extract the zip files and read the 400 images files using OpenCV.\n2. PCA is applied to reduce the large number of dimensions, which both\nspeeds up training and helps the models focus on the important bits.\n3. Two train-test split strategies are used:\n    1. even-odd row split\n    2. 70-30% split\n4. Different models are used for training:\n    1. KNN\n    2. SVM with three different kernels\n    3. Gauusian Naive Bayes","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdel-17%2Ffacial-recognition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdel-17%2Ffacial-recognition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdel-17%2Ffacial-recognition/lists"}