{"id":24466062,"url":"https://github.com/asirwad/face-detection-opencv","last_synced_at":"2026-05-17T21:07:59.552Z","repository":{"id":183617508,"uuid":"669513014","full_name":"Asirwad/Face-Detection-OpenCV","owner":"Asirwad","description":"🤖Face and Smile Detection using openCV using haarcascade_frontalface_default.xml and haarcascade_smile.xml pretrained models😁","archived":false,"fork":false,"pushed_at":"2023-07-25T04:38:15.000Z","size":181,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-21T06:13:26.785Z","etag":null,"topics":["compu","flask-application","mach","opencv"],"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/Asirwad.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}},"created_at":"2023-07-22T14:19:46.000Z","updated_at":"2023-07-26T09:21:04.000Z","dependencies_parsed_at":"2023-07-25T06:49:03.098Z","dependency_job_id":null,"html_url":"https://github.com/Asirwad/Face-Detection-OpenCV","commit_stats":null,"previous_names":["asirwad/face-detection-opencv"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asirwad%2FFace-Detection-OpenCV","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asirwad%2FFace-Detection-OpenCV/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asirwad%2FFace-Detection-OpenCV/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asirwad%2FFace-Detection-OpenCV/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Asirwad","download_url":"https://codeload.github.com/Asirwad/Face-Detection-OpenCV/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243575210,"owners_count":20313204,"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":["compu","flask-application","mach","opencv"],"created_at":"2025-01-21T06:13:30.129Z","updated_at":"2026-05-17T21:07:54.515Z","avatar_url":"https://github.com/Asirwad.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align='center'\u003eFace Detection using openCV\u003c/h1\u003e\n\n\n![Python](https://img.shields.io/badge/Python-3.7%20%7C%203.8%20%7C%203.9-blue?logo=python\u0026logoColor=white)\n![Flask](https://img.shields.io/badge/Flask-1.1.2-green?logo=flask\u0026logoColor=white)\n![OpenCV](https://img.shields.io/badge/OpenCV-4.5.2.54-red?logo=opencv\u0026logoColor=white)\n\n\nA web application for real-time face detection using Flask and OpenCV.\n\n## Table of Contents\n- [Introduction](#introduction)\n- [Installation](#installation)\n\n## Introduction\nThis web application captures video from your webcam and performs real-time face detection using the OpenCV library. It then displays the video feed with rectangles drawn around detected faces on a web page built with Flask.\n\n## Pre-trained-models\nThis web application uses openCV pre-trained models [haarcascade_frontalface_default.xml](https://github.com/opencv/opencv/blob/master/data/haarcascades/haarcascade_frontalface_default.xml) for face detection and [haarcascade_smile.xml](https://github.com/opencv/opencv/blob/master/data/haarcascades/haarcascade_smile.xml) for smile detection\n\n## Installation\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/Asirwad/Face-Detection-OpenCV.git\n   cd Face-Detection-OpenCV\n\n2. Create and activate a virtual environment (optional but recommended):\n    ```bash\n    python -m venv venv\n    source venv/bin/activate   # On Windows, use `venv\\Scripts\\activate`\n    \n3. Install the required dependencies:\n    ```bash\n    pip install -r requirements.txt\n    \n4. For CLI version\n   ```bash\n   python main_CLI.py\n\n5. For flask version\n   ```bash\n   python flask_main.py\n   ```\n   Then goto browser and open:\n   ```bash\n   http://127.0.0.1:5000/  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasirwad%2Fface-detection-opencv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasirwad%2Fface-detection-opencv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasirwad%2Fface-detection-opencv/lists"}