You are on page 1of 10

Project Report

On

“FACE MASK DETECTION BASED ON COMPUTER VISION”

Submitted in partial fulfillment of the requirements for the degree of


Bachelor of Engineering in Computer Science Engineering

By

Mr. Hashim Siddiqui (57)


Mr. Nitish Shinde (53)
Mr. Sahil Sharma (40)

Under the guidance

of

Prof. Mahesh Thakur

DEPARTMENT OF COMPUTER ENGINEERING CHHATRAPATI SHIVAJI


MAHARAJ INSTITUTE OF TECHNOLOGY,
PANVEL– 410206,
UNIVERSITY OF
MUMBAI
Academic Year 2021 – 2022

1 | Page
ABSTRACT

The corona virus COVID-19 pandemic is causing a global health crisis so the
effective protection method is wearing a face mask in public areas according to the
World Health Organization (WHO). The COVID-19 pandemic forced governments
across the world to impose lockdowns to prevent virus transmissions. Reports indicate
that wearing face masks while at work clearly reduces the risk of transmission. An
efficient and economic approach of using AI to create a safe environment in a
manufacturing setup.

A hybrid model using deep and classical machine learning for face mask detection
will be presented. A face mask detection dataset consists of with mask and without mask
images, we are going to use Open CV to do real-time face detection from a live stream
via our webcam. We will use the dataset to build a COVID-19 Face mask detector with
computer vision using Python, Open CV, Tensor Flow and Keras. Our goal is to identify
whether the person on image/video stream is wearing a face mask or not with the help of
computer vision and deep learning.

2 | Page
INTRODUCTION

The trend of wearing face masks in public is rising due to the COVID- 19 corona
virus epidemic all over the world. Before Covid-19, People used to wear masks to protect
their health from air pollution. While other people are self-conscious about their looks,
they hide their emotions from the public by hiding their faces. Scientists proofed that
wearing face masks works on impeding COVID-19 transmission. COVID-19 (known as
corona virus) is the latest epidemic virus that hit the human health in the last century. In
2020, the rapid spreading of COVID-19 has forced the World Health Organization to
declare COVID- 19 as a global pandemic.

More than five million cases were infected by COVID-19 in less than 6 months
across 188 countries. The virus spreads through close contact and in crowded and
overcrowded areas.

The corona virus epidemic has given rise to an extraordinary degree of worldwide
scientific cooperation. Artificial Intelligence (AI) based on Machine learning and Deep
Learning can help to fight Covid-19 in many ways. Machine learning allows researchers
and clinicians evaluate vast quantities of data to forecast the distribution of COVID-19,
to serve as an early warning mechanism for potential pandemics, and to classify
vulnerable populations. The provision of healthcare needs funding for emerging
technology such as artificial intelligence, IoT, big data and machine learning to tackle
and predict new diseases. In order to better understand infection rates and to trace and
quickly detect infections, the AI’s power is being exploited to address the Covid-19
pandemic. People are forced by laws to wear face masks in public in many countries.
These rules and laws were developed as an action to the exponential growth in cases and
deaths in many areas. However, the process of monitoring large groups of people is
becoming more difficult. The monitoring process involves the detection of anyone who is

3 | Page
not wearing a face mask.

Here we introduce a mask face detection model that is based on computer vision
and deep learning. The proposed model can be integrated with surveillance cameras to
impede the COVID-19 transmission by allowing the detection of people who are wearing
masks not wearing face masks. The model is integration between deep learning and
classical machine learning techniques with opencv, tensor flow and keras. We have used
deep transfer leering for feature extractions and combined it with three classical machine
learning algorithms. We introduced a comparison between them to find the most suitable
algorithm that achieved the highest accuracy and consumed the least time in the process
of training and detection.

4 | Page
SCOPE

Face Mask Detection Platform uses Artificial Network to recognize if a user


is not wearing a mask. The app can be connected to any existing or new IP mask
detection cameras to detect people without a mask. App users can also add faces
and phone numbers to send them an alert in case they are not wearing a mask. If
the camera captures an unrecognized face, a notification can be sent out to the
administrator.

A user-friendly website allows the user to see who was not wearing a mask
and see the photo or the video captured by the camera. User can also generate
reports to download and integrate with any other third-party integration.

If the face mask detector application identifies a user that he/she was not
wearing a mask, AI alerts are sent with the picture of the person. It allows the
application to run automatically and enforces the wearing of the mask.

5 | Page
PROBLEM STATEMENT

Difficulties are faced by the authorities in the process of monitoring a large


population that has a different habit. The authorities need a solution to be able to
validly control the implementation of the law, which begins with the availability of
the data quickly and accurately. One of the solutions is to use regionally automated
face mask recognition to differentiate between people who wear masks and those
who do not.

SYSTEM DESIGN(Design Details)

The system working will follow the following events and the actions to be
taken for further procedure:

6 | Page
REQUIREMENT ANALYSIS

5.1 HARDWARE REQUIREMENTS

● Processor - Pentium or Higher


● Speed - 1.1 GHZ
● RAM - 4GB or Higher
● Webcam - Standard Webcam
● Monitor - SVGA
● Mouse - Two or Three Button Mouse
● Keyboard - Standard Keyboard

5.2 SOFTWARE REQUIREMENTS

● Operating System - Windows 7 or Above


● Database - SQLite
● Application Server - Apache Tomcat
● Front End - HTML, Java script, Python,
● Server side Script - Python
● Database - MySQL
Connectivit

7 | Page
LIMITATION

The developed system faces difficulties in classifying faces covered by hands


since it almost looks like the person wearing a mask. While any person without a face
mask is traveling in any vehicle, the system cannot locate that person correctly. For a
very densely populated area, distinguishing the face of each person is very difficult.
For this type of scenario, identifying people without face masks would be very
difficult for our proposed system. In order to get the best results out of this system,
the city must have a large number of CCTV cameras to monitor the whole city as well
as dedicated manpower to enforce proper laws on the violators. Since the information
about the violator is sent via SMS, the system fails when there is a problem in the
network.

8 | Page
FUTURE SCOPE

The current on-going system is gracing with PCA and SVM techniques as
one of the best techniques which would be implemented along with the interface of
alarm and alerting system in future generation. This system will be integrated with
the system implementing social distancing that would make it a complete system
which can bring a dramatic impact on the spread of. The new world will be
wellbeing of high demand of mask as faceless future and that will be a big security
concern. Expertise say, CNN that using face mask proves to be the best solution to
mitigate the spread of air borne virus like corona, but as a big security concern
headed to challenge the nation as it would create a massive opportunity for people
who cover their faces for nefarious reason. And also experts say the mass no of
mask wearing in could complicate in crime investigation in the coming days, as
facial recognition is an important part in tracking of the criminals.

When the pandemic Covid-19 getting over, then this system comes into play
for chemical factories, bank, glass factories, etc. If a person enters the bank while
wearing a mask he would be not allowed entering and also if the person does not
wear masks in glass factories chemical factories and etc. then the person would not
be allowed to enter to the industry. A mind concept of human being have been
proved out to be very good at recognizing familiar faces and facial recognition
algorithms are getting better in identifying pattern.

So thus this challenge would create a scope to new face mask detection
algorithms which can identify aces which are covered with greater accuracies and
precisions.

9 | Page
PROJECT SCHEDULE

THE END

10 | Page

You might also like