Skip to content

prakhar991/Face-Mask-Detection

Repository files navigation

Face-Mask-Detection

Face Mask Detection System built with OpenCV, TensorFlow using Deep Learning and Computer Vision concepts in order to detect face masks in real-time video streams.

This system can therefore be used in real-time applications which require face-mask detection for safety purposes due to the outbreak of Covid-19. This project can be integrated with embedded systems for application in airports, railway stations, offices, schools, and public places to ensure that public safety guidelines are followed.

                                                                 Python Stargazers

                                       Video

⚠️ TechStack used

📁 Dataset

The dataset used can be downloaded here - Click to Download

This dataset consists of 3955 images belonging to two classes:

  • with_mask: 2037 images
  • without_mask: 1918 images

The images used were real images of faces wearing and not wearning masks.

🔑 Results

Our model gave 98.73% accuracy for Face Mask Detection after training via tensorflow-gpu==2.5.0

            No Mask


           Mask on

👀 Note

  • Save all the files in the same folder.
  • Save Both the Datasets in the same folder(I named the folder name as Data)
  • Install all the modules beforehand (tensorflow, keras, imutils, numpy, opencv-python, matplotlib, etc.)
  • Change the path directory as per your system.

PS: Do not forgot to star the repository if you found it useful ⭐😉

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published