{"id":20290171,"url":"https://github.com/karan-malik/facemaskdetector","last_synced_at":"2025-04-09T12:08:21.991Z","repository":{"id":37678332,"uuid":"281906557","full_name":"Karan-Malik/FaceMaskDetector","owner":"Karan-Malik","description":"Real time face-mask detection using Deep Learning and OpenCV","archived":false,"fork":false,"pushed_at":"2024-06-08T13:12:54.000Z","size":86429,"stargazers_count":150,"open_issues_count":11,"forks_count":103,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T10:14:37.094Z","etag":null,"topics":["cnn","cnn-keras","coding","computer-vision","convolutional-neural-networks","coronavirus","covid-19","covid19","deep-learning","deep-neural-networks","face-mask-detection","opencv","project","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Karan-Malik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-07-23T09:18:13.000Z","updated_at":"2025-03-24T10:16:54.000Z","dependencies_parsed_at":"2024-12-13T17:20:31.734Z","dependency_job_id":null,"html_url":"https://github.com/Karan-Malik/FaceMaskDetector","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karan-Malik%2FFaceMaskDetector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karan-Malik%2FFaceMaskDetector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karan-Malik%2FFaceMaskDetector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karan-Malik%2FFaceMaskDetector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Karan-Malik","download_url":"https://codeload.github.com/Karan-Malik/FaceMaskDetector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248036067,"owners_count":21037092,"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":["cnn","cnn-keras","coding","computer-vision","convolutional-neural-networks","coronavirus","covid-19","covid19","deep-learning","deep-neural-networks","face-mask-detection","opencv","project","python","python3"],"created_at":"2024-11-14T15:06:30.975Z","updated_at":"2025-04-09T12:08:21.963Z","avatar_url":"https://github.com/Karan-Malik.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Face-Mask Detector\nReal time face-mask detection using Deep Learning and OpenCV\n\n## About Project\nThis project uses a Deep Neural Network, more specifically a Convolutional Neural Network, to differentiate between images of people with and without masks. The CNN manages to get \nan accuracy of **98.2% on the training set** and **97.3% on the test set**. Then the stored weights of this CNN are used to classify as mask or no mask, in real time, using OpenCV.\nWith the webcam capturing the video, the frames are preprocessed and and fed to the model to accomplish this task. The model works efficiently with no apparent lag time between\nwearing/removing mask and display of prediction.\n\n#### The model is capable of predicting multiple faces with or without masks at the same time\n\n## Working \n\n### With Mask\n\n![image](mask.png)\n\n### No Mask\n\n![image](nomask.png)\n\n\n\n\n## Dataset\n\nThe data used can be downloaded through this [link](https://data-flair.training/blogs/download-face-mask-data/) or can be downloaded from this repository as well (folders 'test' and \n'train'). There are 1314 training images and 194 test images divided into two catgories, with and without mask.\n\n## How to Use\n\nTo use this project on your system, follow these steps:\n\n1.Clone this repository onto your system by typing the following command on your Command Prompt:\n\n```\ngit clone https://github.com/Karan-Malik/FaceMaskDetector.git\n```\nfollowed by:\n\n```\ncd FaceMaskDetector\n```\n\n2. Download all libaries using::\n```\npip install -r requirements.txt\n```\n\n3. Run facemask.py by typing the following command on your Command Prompt:\n```\npython facemask.py\n```\n\n#### The Project is now ready to use !!\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaran-malik%2Ffacemaskdetector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaran-malik%2Ffacemaskdetector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaran-malik%2Ffacemaskdetector/lists"}