{"id":28793018,"url":"https://github.com/harizonelopez/face-detector","last_synced_at":"2026-05-03T11:35:34.787Z","repository":{"id":297043131,"uuid":"995320216","full_name":"harizonelopez/Face-detector","owner":"harizonelopez","description":"This project is a real-time face detection application using OpenCV's deep learning-based face detector. It captures faces from a webcam feed, detects faces with high accuracy using a pre-trained Caffe model, and saves the detected faces as image files labeled with the user's name.","archived":false,"fork":false,"pushed_at":"2025-09-27T13:19:28.000Z","size":9910,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-27T15:17:21.765Z","etag":null,"topics":["cdn","dnn","numpy","opencv","python3"],"latest_commit_sha":null,"homepage":"https://github.com/harizonelopez/Face-detector","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/harizonelopez.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-03T09:54:17.000Z","updated_at":"2025-09-27T13:19:31.000Z","dependencies_parsed_at":"2025-09-27T15:20:22.783Z","dependency_job_id":null,"html_url":"https://github.com/harizonelopez/Face-detector","commit_stats":null,"previous_names":["harizonelopez/face-detector"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/harizonelopez/Face-detector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harizonelopez%2FFace-detector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harizonelopez%2FFace-detector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harizonelopez%2FFace-detector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harizonelopez%2FFace-detector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harizonelopez","download_url":"https://codeload.github.com/harizonelopez/Face-detector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harizonelopez%2FFace-detector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32567506,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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":["cdn","dnn","numpy","opencv","python3"],"created_at":"2025-06-18T01:04:12.955Z","updated_at":"2026-05-03T11:35:34.775Z","avatar_url":"https://github.com/harizonelopez.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Real-Time Face Detection System\n\nThis project demonstrates real-time face detection using OpenCV's DNN (Deep Neural Network) module and a pre-trained Caffe model. It captures video from your webcam, detects faces in each frame, and displays bounding boxes and confidence scores.\n\n---\n\n\n## 📸 Demo\n\n*Example only. Actual live webcam will be used.*\n\n---\n\n\n## ⚙️ Requirements\n\nMake sure you have the following installed:\n\n- Python 3.6+\n- flask 3.1+\n- OpenCV with DNN module\n- NumPy\n- setuptools\n\nYou can install the dependencies with:\n\n ```bash\n    pip install -r requirements.txt\n```\n\n---\n\n\n## Activate the virtual environment\n\n### On Windows (PowerShell)\n```bash\n   venv\\scripts\\activate \n```\n\n### On macOS/Linux\n```bash\n   source venv/bin/activate\n```\n\n---\n\n## 🧠 Model Details\n\nThis project uses a deep learning model based on a ResNet10 SSD (Single Shot Multibox Detector) architecture.\n\n\n### Download the required files:\n ```bash\n    `deploy.prototxt`\n    `res10_300x300_ssd_iter_140000.caffemodel`\n ```\n\n#### Rename or place them in the same folder as:\n ```bash\n    face_model.caffemodel\n    deploy.prototxt\n ```\n\n---\n\n\n## 🚀 How to Run\n\n ```bash\n    python face_detection.py\n ```\n\nPress `q` to quit the webcam window.\n\n---\n\n\n## 🎯 Features\n\n- ✅ Real-time face detection from webcam\n\n- ✅ Confidence score display\n\n- ✅ Bounding boxes around detected faces\n\n- ✅ Frames-per-second (FPS) calculation\n\n- ✅ Input validation (model file and webcam check)\n\n- ✅ Auto-clamping to prevent frame-bound errors\n\n- ✅ Train LBPH face recognizer\n\n- ✅ Recognize faces live from webcam\n\n---\n\n\n## 📌 Notes\n\n- Works best in well-lit environments.\n\n- Accuracy threshold can be modified from `confidence \u003e 0.5` in the `face_detector.py`.\n\n---\n\n\n## 👨‍💻 Author\n\n- GitHub: @harizonelopez\n- Email: @harizonelopez23@gmail.com\n\n---\n\n\n## 📜 License\n\n    MIT License\n\n---","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharizonelopez%2Fface-detector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharizonelopez%2Fface-detector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharizonelopez%2Fface-detector/lists"}