Skip to content

A CNN model based flask application using OpenCV to detect whether a person is wearing mask or not.

License

Notifications You must be signed in to change notification settings

Radon333/Face-mask-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face-Mask-Detector

Introduction

The situation around us today requires us to stay safe at all times. An important step to prevent contracting the corona virus is to wear masks everytime we are in public. This project is built using python and machine learning concepts to detect if a person is wearing a mask or not in real time. The dataset has about 300 training images each for two classes - Mask and No Mask. Further more images have been used for testing and validation.

Tools used

Python 3 Jupyter Notebook

Description

1.Import the dataset folder.

2.Load the modelEDA&Training.ipynb file and run it.

3.Run the deployment.ipynb file.

Conclusion

You can also use an external webcam for detection. This project can be implemented on a larger scale at public places to detect people not wearing masks. This will although require more dataset and training for extremely accurate predictions. Various other features like predicting if social distancing is followed or not can also be added.