Skip to content

akash720/face-mask-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face Mask Detection

Detecting face masks using deep learning

Description

This project aims at using transfer learning on pretrained model for detecting face with masks on them. The model used is ResNet50 which is available in PyTorch. The approach used for prediction using the trained model is as follows:

  • First we find ROI in the image which is face. This is done by passing our image to MTCNN face detector
  • Then we crop the face, which is our ROI and pass it to our model to detect if face is covered with mask or not.

Dependencies

  • PyTorch
  • MTCNN face detector

Dataset

The dataset used in this project can be found here - https://github.com/prajnasb/observations with some of my own images and their augmented images.

Future Work

There's always room for improvement. In this project, we can further detect if the faces are fully covered by mask or not. It is beneficial to do so because improper use of mask may decrease it's efficiency.

Output

Output GIF

I would be so happy if you give this repository a star ⭐ or share it with your friends ❤️

About

Detecting faces with mask using neural networks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published