{"id":22703414,"url":"https://github.com/arshitarora/face-recognition-authentication","last_synced_at":"2026-05-05T05:35:15.742Z","repository":{"id":189087355,"uuid":"680015586","full_name":"ArshitArora/Face-Recognition-Authentication","owner":"ArshitArora","description":"This is a Python program that uses OpenCV and face recognition libraries to perform real-time facial recognition and authentication. The program captures video from the webcam, detects faces, and matches them against a pre-trained dataset to identify individuals","archived":false,"fork":false,"pushed_at":"2023-08-18T09:38:43.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T20:37:04.072Z","etag":null,"topics":["authentication","cv2","face-recognition","opencv","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/ArshitArora.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-08-18T06:30:28.000Z","updated_at":"2023-08-18T06:41:00.000Z","dependencies_parsed_at":"2025-02-04T20:34:46.768Z","dependency_job_id":"108d7b25-a0a4-416d-b956-21010289bc44","html_url":"https://github.com/ArshitArora/Face-Recognition-Authentication","commit_stats":null,"previous_names":["delicate-jerk/face-recognition-authentication","arshitarora/face-recognition-authentication"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArshitArora%2FFace-Recognition-Authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArshitArora%2FFace-Recognition-Authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArshitArora%2FFace-Recognition-Authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArshitArora%2FFace-Recognition-Authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArshitArora","download_url":"https://codeload.github.com/ArshitArora/Face-Recognition-Authentication/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246237429,"owners_count":20745348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["authentication","cv2","face-recognition","opencv","python"],"created_at":"2024-12-10T08:10:40.250Z","updated_at":"2026-05-05T05:35:15.672Z","avatar_url":"https://github.com/ArshitArora.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Facial Recognition and Authentication 👤🔐\n\nThis is a Python program that uses OpenCV and face recognition libraries to perform real-time facial recognition and authentication. The program captures video from the webcam, detects faces, and matches them against a pre-trained dataset to identify individuals. It calculates the accuracy of the match and displays the results.\n\n## Features 🌟\n\n- Real-time facial recognition using webcam input.\n- Compares detected faces against pre-trained encodings.\n- Calculates accuracy based on facial distance and match threshold.\n- Displays the matched name and accuracy for each recognized face.\n- Returns the most matched name after a certain number of frames.\n\n## Installation and Usage 🛠️\n\n1. Clone this repository to your local machine.\n2. Make sure you have Python and the required libraries installed.\n3. Run the `recognize_face.py` script using the command: `python recognize_face.py`.\n4. The program will capture video from your webcam and display the results in the console.\n\n## Dependencies 📦\n\n- `cv2` (OpenCV): For capturing and processing video frames.\n- `face_recognition`: For face detection and encoding.\n- `numpy`: For array operations.\n\n## Configuration ⚙️\n\n- You can adjust the `faceMatchThreshold` and `accuracy` thresholds in the `getAccuracy` function to fine-tune matching and accuracy.\n- Update the `face_recognition_data` directory path to point to your own dataset of face images.\n\n## Acknowledgments 🙌\n\n- The `face_recognition` library simplifies face recognition tasks.\n- Inspired by the idea of using facial recognition for authentication.\n\n## Note 📝\n\n- This program is designed for educational purposes and might require additional improvements for production-level security.\n\n## Author 🧑‍💻\n\n[Arshit Arora]\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farshitarora%2Fface-recognition-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farshitarora%2Fface-recognition-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farshitarora%2Fface-recognition-authentication/lists"}