Skip to content

shreeratn/Mask-detection-COVID

Repository files navigation

Face mask Detection


Real time face mask detection in python

An awesome and easy to use detector with training samples

Table of Contents

About the Project

This COVID-19 pandemic has raised many concerns regarding health and our environment and to stop them from spreading is wearing mask in public places. Therefore, this issue to be addressed efficiently cannot be possible by humans single handedly.

Here's why:

  • Even if a team of people are gathered it would be difficult to keep a note of all people not wearing masks
  • Manual labor can be reduced and thus reducing the price of expenditure on hiring more people for a job which can be accomplished by machine
  • This can not only be used for mask detection but can be tweaked a bit and then used for attendance manager in workplaces or schools, etc.

Of course, no machine can be perfected completely but this detector has accuracy of over 90% and can learn from the usage too.

A list of commonly used resources that I find helpful are listed in the acknowledgements.

Built With

Here is list of MAJOR dependencies for this project (for running this you will need a few more too; and how to install them is shown further below)

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

List of things you need to use the software and how to install them.

  • Python
  • Tensorflow
  • CV2

Installation

  • Tensorflow
pip install tensorflow --user
  • Matplotlib
pip install matplotlib --user
  • NumPy
pip install numpy --user
  • CV2
pip install cv2 --user

Usage

  • If user wants to see the how the model is created, then open the Mask_detection.ipynb file or just run it directly to create model.

  • Run the mask.py in ./Detect for the input and output

Roadmap

No further features are planned to be added, if planned it will be shown here

Contributing

Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch
  3. Commit your Changes
  4. Push to the Branch
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Shree Ratn

Project Link: Github

About

Detection of Face Mask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published