Skip to Content
Mask Detection Model

Mask Detection Model

This model detects whether a user is wearing a surgical mask.

Built with OpenCV, TensorFlow Keras API & vgg16 pretrained model.

Responsible Ahmad Tohamy
Date Jun 2022
Viewers 0
Intermediate AI / ML Python

During the COVID-19 pandemic, mask detection models were developed to help monitor and enforce mask-wearing in public spaces. 

Face Mask Detection model. Built with OpenCV, TensorFlow Keras API & vgg16 pretrained model using a Convolutional Neural Network (CNN) 


Predict a Data Set :

TestMyModel.ipynb -> used to test your own data set

You can test your own images by inserting them to the 'TestYourOwnImages' directory

as of the following structure:

└─TestYourOwnData
  └─masked
     │  masked001.jpg
     │  masked002.jpg
     └─  ...        
  └─unmasked
     │  unmasked001.jpg
     │  unmasked002.jpg
     └─  ...        

Real-time video :

Real-Time-Stream.ipynb -> used to test a real time stream