Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 11

REAL-TIME

FACE MASK DETECTOR FOR


COVID – 19

Supervised by Dr. Krishna Gopal Sharma

Group 1 - Team 5

Akash Tyagi CO18507


Arushita Chadha CO18515
Gauri Khanna CO18527
Project Aim:
To train a COVID-19 face mask detector with
OpenCV, Keras/TensorFlow, and Deep Learning.

If deployed correctly, the COVID-19 mask detector we’re building here today could
potentially be used to help ensure your safety and the safety of others.
Dataset
This dataset consists of 1,376 images belonging to two classes:
● with_mask: 690 images
● without_mask: 686 images

How was the dataset created?

1. Taking normal images of faces


2. Then creating a custom computer vision
Python script to add face masks to them
Creation Process of Dataset

Evaluate Facial Place mask to cover


Take image Detect ROI
Features nose, mouth and chin
Two-phase COVID-19 face
mask Detector

Phase #1 : Train Face Mask Detector


Phase #2 : Apply Face Mask Detector
Phase #1 : Train Face Mask Detector
Serialise face mask
Load Face Mask Dataset Train face mask classifier
classifier to disk

we’ll encode our Compile our model with Take a classification


labels, partition our the Adam optimizer, a report in the terminal for
dataset, and prepare for learning rate decay inspection and serialize
data augmentation schedule, and binary our face mask
cross-entropy. classification model to
Make predictions on the disk.
test set, grabbing the
highest probability class
label indices.
Phase #2 : Apply Face Mask Detector
Load classifier Detect faces Apply
Extract ROI Results
from disk In image/video Classifier

Load both our Pre-process an Extract the face Perform mask Let’s see the
face detector and input image with ROI via NumPy detection to results!
face mask OpenCV slicing predict with_mask
classifier models Perform face Pre-process the or without_mask
from disk. detection to ROI
localize where in
the image all
faces are.
Results
Static Image face mask detection

Without Mask With Mask


Results
Real-Time video stream face mask detection

Without Mask With Mask


Results
Multiple person face mask detection

Without Mask With Mask


Thank you

You might also like