Skip to content

YashBorikar/Mask-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face Mask Detection

Face Mask Detection System built using Deep Learning and OpenCV to detect real time face masks.

Feature of Face Mask Detection

Model use concept of Transfer Learning with Pre-trained MobileNetV2 model architecture.

Model can be used in real-time applications which require face-mask detection for safety purposes due to the outbreak of Covid-19. This project can be integrated with embedded systems for application at public places to ensure that public safety guidelines are followed.

The model is potential to predicting multiple faces with or without masks at the same time.

Preview

Mask-Detection

Installations

Follow steps to use this project:

  1. Clone repository
git clone https://github.com/YashBorikar/Mask-Detection.git
  1. Change directory to clone repository
cd Mask-Detection
  1. Create a Python virtual environment and activate it
$ virtualenv venv
$ source venv/bin/activate      # For Linux
$ venv\Scripts\activate         # For Windows
  1. Install required libraries
pip install -r requirements.txt

Getting Started

Run MaskDetection.py

python MaskDetection.py

Results

Open In Colab

Training Accuracy: 99.89%, Training Loss: 0.21%, Testing Accuracy: 99.48%, Testing Loss: 0.91%

Accuracy

Model gave 99% accuracy for Face Mask Detection after training

Classification Report

Connect me

LinkedIn

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages