Giter VIP home page Giter VIP logo

face-mask-detection's Introduction

Face-Mask-Detection

Logo

๐Ÿ“Œ 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

๐Ÿƒโ€โ™‚๏ธ 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:
https://github.com/ksdkamesh99/Face-Mask-Detection.git
  1. Install the Packages:
pip install -r requirements.txt
  1. At last, push in the command:
python app.py
  1. Go to http://127.0.0.1:5000/ and enjoy the application.

  2. Examples are provided in the directory You can try using them.

  3. Some screenshots of the application are mentioned Below.

๐Ÿ“œ Screenshots

  1. Home Page.
    home

  2. About Page.
    about

  3. Predictions Page/Result Page.

    i. Narendra Modi With Mask.
    narendra ii. Donald Trump without Mask.
    trump

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 [email protected].

๐Ÿ“œ LICENSE

MIT

face-mask-detection's People

Contributors

dependabot[bot] avatar imgbotapp avatar ksdkamesh99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

face-mask-detection's Issues

dlerror: cudart64_110.dll not found:Need help

C:\Python3.9.1\Python\Face-Mask-Detection_flask\Face-Mask-Detection>python app.py
2021-05-20 10:45:32.922460: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2021-05-20 10:45:32.930628: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
File "C:\Python3.9.1\Python\Face-Mask-Detection_flask\Face-Mask-Detection\app.py", line 13, in
import keras.backend.tensorflow_backend as tb
ModuleNotFoundError: No module named 'keras.backend.tensorflow_backend'; 'keras.backend' is not a package

C:\Python3.9.1\Python\Face-Mask-Detection_flask\Face-Mask-Detection>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.