In this project I have used python to make a model which detects wether a person is wearing mask or not . In this project I have used 6500 images both with and without mask and a person can see the result through the website
To deploy this project run steps :-
- Install requirements.txt
- Use train.py to train model if another dataset used
- project.py is the main project which detects mask to use it start webcam if no webcam you can use droidcam application
- Web.py is the flask framework web application use it to see results in webpage and run project.py.
- user.db is the user database
- wearmask.db contains database of mask worn
Pip install requirements.txtTo train model
python train.pyweb is the main application to run it use
python web.py| Technology | Description |
|---|---|
Tensorflow |
Machine learning to train model |
opencv |
To detect face |
Bootstrap |
For frontend |
python-flask |
For Backend |
flask-sqlalchemy |
ORM |
sqlite |
Database |
For any queries or support, email 12agrawalrahul@gmail.com
I'm a software developer ...
My name is Rahul Agrawal

