{"id":24452508,"url":"https://github.com/samridhi060/face_recognition-using-open-cv","last_synced_at":"2025-03-25T06:45:43.309Z","repository":{"id":273181839,"uuid":"918921458","full_name":"Samridhi060/Face_Recognition-using-Open-CV","owner":"Samridhi060","description":"This project implements a simple face detection application using OpenCV. The application captures video from the webcam, detects faces in real-time.","archived":false,"fork":false,"pushed_at":"2025-01-19T17:12:00.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-27T01:44:21.635Z","etag":null,"topics":["facerecognitionproject","opencv-python","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/Samridhi060.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":"2025-01-19T08:20:48.000Z","updated_at":"2025-01-19T17:12:02.000Z","dependencies_parsed_at":"2025-01-19T09:26:35.694Z","dependency_job_id":"1ed46273-3434-4e14-8738-09e6d2cd2762","html_url":"https://github.com/Samridhi060/Face_Recognition-using-Open-CV","commit_stats":null,"previous_names":["samridhi060/face_recognition-using-open-cv"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samridhi060%2FFace_Recognition-using-Open-CV","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samridhi060%2FFace_Recognition-using-Open-CV/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samridhi060%2FFace_Recognition-using-Open-CV/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samridhi060%2FFace_Recognition-using-Open-CV/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Samridhi060","download_url":"https://codeload.github.com/Samridhi060/Face_Recognition-using-Open-CV/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245414523,"owners_count":20611364,"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":["facerecognitionproject","opencv-python","python"],"created_at":"2025-01-21T01:06:11.116Z","updated_at":"2025-03-25T06:45:43.284Z","avatar_url":"https://github.com/Samridhi060.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Face Detection with OpenCV\n\n## Overview\nThis project implements a simple face detection application using OpenCV. The application captures video from the webcam, detects faces in real-time, and displays the video feed with rectangles drawn around detected faces.\n\n## Requirements\n- Python 3.x\n- OpenCV library\n\n## Installation\n1. **Install Python**: Make sure you have Python installed on your machine. You can download it from [python.org](https://www.python.org/downloads/).\n\n2. **Install OpenCV**: You can install OpenCV using pip. Open a terminal or command prompt and run:\n   ```bash\n   pip install opencv-python\n   ```\n\n## Usage\n1. **Run the Script**: Save the code to a file named `face_detection.py` and run it using:\n   ```bash\n   python face_detection.py\n   ```\n\n2. **Control the Application**:\n   - Press the **\"a\"** key to exit the application.\n   - You can also close the window using the close button (the \"X\" button) on the window.\n\n## Code Explanation\n- **Face Detection Model**: The code uses a pre-trained Haar Cascade classifier for detecting faces. The classifier file is loaded from OpenCV's data directory.\n- **Video Capture**: The application captures video from the default webcam (index 0).\n- **Frame Processing**:\n  - Each frame is converted to grayscale for better face detection performance.\n  - Detected faces are highlighted with green rectangles.\n- **Display**: The processed video feed is displayed in a window titled \"Video_live\".\n\n## Troubleshooting\n- If the application does not open the webcam, make sure no other application is using the camera.\n- Ensure that your environment has access to the webcam.\n- If you encounter any errors related to OpenCV, ensure that the library is installed correctly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamridhi060%2Fface_recognition-using-open-cv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamridhi060%2Fface_recognition-using-open-cv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamridhi060%2Fface_recognition-using-open-cv/lists"}