https://github.com/ksdkamesh99/face-mask-detection
A Deep learning flask based application used to predict whether Person is having mask to his face or not
https://github.com/ksdkamesh99/face-mask-detection
covid19-projects face-mask-detection python-3 vgg16
Last synced: 5 months ago
JSON representation
A Deep learning flask based application used to predict whether Person is having mask to his face or not
- Host: GitHub
- URL: https://github.com/ksdkamesh99/face-mask-detection
- Owner: ksdkamesh99
- License: mit
- Created: 2020-05-12T11:45:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T09:52:17.000Z (almost 3 years ago)
- Last Synced: 2025-03-31T15:01:03.367Z (7 months ago)
- Topics: covid19-projects, face-mask-detection, python-3, vgg16
- Language: HTML
- Homepage:
- Size: 60.7 MB
- Stars: 21
- Watchers: 2
- Forks: 5
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Face-Mask-Detection
## 📌 Introduction
This Deep Learning Web Application utilizes a Convolutional Neural Network to process the person Images and predict if their Mask is ON/OFF accuracy of nearly 98%.
Here this model is made by a pretrained model VGG16.
## 🎯 Purpose of the Project
As Social Distancing is only tool to prevent COVID-19 wearing face masks is compulsory.
To monitor the mass no of people whether they wear a mask or not I came up with a solution using deep learning
Here I can used Convulutional Nueral Networks(CNN) to predict whether the person is wearing the mask or not .
I took the person images with and with_out masks through web scraping and started working on it. the dataset consists of nearly 2000.Our Model performs fairly well with an accuracy of 98% and an F1 Score of 97%. This provides a handy tool to utilize the power of Machine Learning and Artificial Intelligence in Binary Classification Problems where time and accuracy is the paramount objective of classification.
## 🏁 Technology Stack
* [Flask](https://github.com/pallets/flask)
* [HTML](https://www.w3.org/TR/html52/)
* [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS)
* [Bootstrap](https://getbootstrap.com/)
* [Tensorflow](https://www.tensorflow.org/)
* [Keras](http://keras.io/)## 🏃♂️ Local Installation
1. Drop a ⭐ on the Github Repository.
2. Clone the Repo by going to your local Git Client and pushing in the command:```sh
https://github.com/ksdkamesh99/Face-Mask-Detection.git
```3. Install the Packages:
```sh
pip install -r requirements.txt
```4. At last, push in the command:
```sh
python app.py
```5. Go to ` http://127.0.0.1:5000/` and enjoy the application.
6. Examples are provided in the directory You can try using them.
7. Some screenshots of the application are mentioned Below.
## 📜 Screenshots
1. Home Page.
2. About Page.
3. Predictions Page/Result Page.
i. Narendra Modi With Mask.

ii. Donald Trump without Mask.
## Future Work to do:-
1 . To convert the application to asyncronous way by using ajax call.
2 . To deploy the application in AWS/GCP Platform for beter reach.## Contact:-
For any kind of suggesstions/ help in model code Please mail me at ksdkamesh99@gmail.com.
## 📜 LICENSE
[MIT](https://github.com/ksdkamesh99/Face-Mask-Detection/blob/master/LICENSE)