0% found this document useful (0 votes)
197 views

Python Project Report Face Mask Detection

The document summarizes a student project on face mask detection. It discusses using convolutional neural networks and computer vision techniques to detect whether a face in an image is wearing a mask or not. The project aims to help prevent the spread of COVID-19 by promoting mask usage. It develops a real-time GUI system that can identify individuals and indicate if they are correctly wearing a mask or not through a green or red rectangle on their face. The system was tested on images and achieved high accuracy in face recognition and mask detection. It has applications in various public settings and workplaces to ensure safety guidelines are followed.

Uploaded by

Lalit Adhana
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
197 views

Python Project Report Face Mask Detection

The document summarizes a student project on face mask detection. It discusses using convolutional neural networks and computer vision techniques to detect whether a face in an image is wearing a mask or not. The project aims to help prevent the spread of COVID-19 by promoting mask usage. It develops a real-time GUI system that can identify individuals and indicate if they are correctly wearing a mask or not through a green or red rectangle on their face. The system was tested on images and achieved high accuracy in face recognition and mask detection. It has applications in various public settings and workplaces to ensure safety guidelines are followed.

Uploaded by

Lalit Adhana
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 10

SUMMER INTERNSHIP / PROJECT REPORT

ON
“FACE MASK DETECTION”
Submitted in Partial Fulfillment of the Requirement
for the award of Degree of

Bachelor of Technology
In
Computer Science & Technology
Submitted By

LALIT KUMAR -2K20CSUN01062


SOURAV KUMAR SRIVASTAVA -2K20CSUN01096
VIVAAN MITTAL -2K20CSUN010--

Under the Guidance of


Ms. Dimple Mam

DEPARTMENT OF COMPUTER SCIENCE AND TECHNOLOGY


MANAV RACHNA UNIVERSITY
FARIDABAD, HARYANA (INDIA)
(Formerly Manav Rachna College of Engineering)

MAY 2022

ACKNOWLEDGEMENTS

…………………………………………………………………………………………………………………

…………………………………………………………………………………………………….
…………………………………………………………………………………………………….
…………………………………………………………………………………………………….

Name of Student
CANDIDATE’S DECLARATION

I / We hereby declare that work presented in this project report entitled “face mask detection”, is an authentic
record of our own work carried out at Manav Rachna University_____________________________.

Supervisor Name: Student Name: Lalit Kumar


Signature: Signature: Lalit kumar
Date: Roll No:2k20CSUN01062

Student Name: Sourav Kumar Srivastava


Signature: Sourav Kumar
Roll No: 2k20csun01096

Student Name: Vivaan Mittal


Signature: vivaan mittal
Roll No: 2k20csun010--
Table of Contents
1. Abstract
2. Objective /Problem Statement
3. Explanation and Implementation
4. Application/Product Design including User Interface, Database Design, h/w design(if
Applicable)
5. Testing Process
6. Results And Discussion
7. Limitations/Constraints of the project
8. Conclusion & Future Scope
9. Technology used
10. Hardware & Software Environment
11. References (Format as per IEEE)
FORMAT FOR INDEX:

S.NO CONTENT PAGE NO.

1 Abstract

2 Objective /Problem Statement

3 Explanation and Implementation

4 Application/Product Design including User Interface,


Database Design
5 Testing Process

6 Results And Discussion

7 Limitations/Constraints of the project

8 Conclusion & Future Scope

9 Technology used

10 Hardware & Software Environment

11 References (Format as per IEEE)


ABSTRACT
Abstract- After the breakout of the worldwide pandemic COVID-19, there
arises a severe need of protection mechanisms, face mask being the
primary one. According to the World Health Organization, the corona
virusCOVID-19 pandemic is causing a global health epidemic, and the
most successful safety measure is wearing a face mask in public places.
Convolutional Neural Networks (CNNs) have developed themselves as a
dominant class of image recognition models. The aim of this research is to
examine and test machine learning capabilities for detecting and
recognize face masks worn by people in any given video or picture or in
real time. This project develops a real-time, GUI-based automatic Face
detection and recognition system.
It can be used as an entry management device by registering an
organization's employees or students with their faces, and then
recognizing individuals when they approach or leave the premises by
recording their photographs with faces.The proposed methodology makes
uses of Principal Component Analysis (PCA) and HAAR Cascade Algorithm.
Based on the performance and accuracy of our model, the result of the
binary classifier will be indicated showing a green rectangle superimposed
around the section of the face indicating that the person at the camera is
wearing a mask, or a red rectangle indicating that the person on camera is
not wearing a mask along with face identification of the person.
Keywords – Face Recognition and Detection, Convolutional Neural
Network, GUI, Principal Component Analysis, HAAR Cascade Algorithm

OBJECTIVE
The main objective of “Face mask recognition” project is to provide some
effective technology for preventing the spread of Corona virus. Primary
objectives behind the development of this system are as follows: -
• Prevent the spread of Corona virus by promoting the use of face masks
with the help of effective technology to detect the face mask.
• Help to take necessary precautions for the safety of society by
predicting the future outbreaks of COVID-19.
• Ensure a safe working environment.
• Save the lives of people

EXPLANATION AND IMPLEMENTATION


Face Recognition is a technique that matches stored models of each
human face in a group of people to identify a person based on certain
features of that person’s face. Face recognition has emerged as one of the
most difficult and intriguing problems in pattern recognition and image
processing. With the aid of such a technology, one can easily detect a
person's face by using a dataset of identical matching appearance. The
most effective approach for detecting a person's face is to use Python and
a Convolutional Neural Network in deep learning. This method is useful in
a variety of fields, including the military, defense, schools, colleges, and
universities, airlines, banks, online web apps, gaming, and so on. Face
masks are now widely used as part of standard virusprevention measures,
especially during the Covid-19 virus outbreak. Many individuals or
organizations must be able to distinguish whether or not people are
wearing face masks in a given location or time. This data's requirements
should be very real-time and automated. The challenging issue which can
be mentioned in face detection is inherent diversity in faces such as
shape, texture, color, got a beard\moustache and/or glasses and even
masks. From the experiments it is clear that the proposed CNN and
Python algorithm is very efficient and accurate in determining the facial
recognition and detection of individuals.

System Description:
• Input: Image showing masked/unmasked faces
• Output: Detect face showing ‘Mask’ or ‘No Mask’ message.
• Success Conditions: Masked and unmasked faces are successfully
detected and expected output is displayed on screen.
Failure Conditions: 1. Camera is not capturing input frame. 2.Face is not
available for detection purpose

• Initially we will capture an image through webcam to detect person’s


face.
• Extraction of images from frames.
• Then face mask detector will be loaded.
• Operation on images will be performed for detection by Image
preprocessing.
• Respective results will be converted into image frames.
• If person is wearing mask properly then system will display a rectangle
on the face of the person with green color.
• If the person is not wearing mask or not wearing in proper way, then
system will display a rectangle on the face of the person in red color.

PRODUCT DESIGN

CODE……

TESTING
IMAGES……

RESULTS AND DISCUSSION


This proposed work uses a sequential Convolutional Neural Network for
detecting and recognizing human faces of individuals with mask or
without it. CNN model and Haar Cascade Algorithm facilitates automatic
detection and recognition of human face which overcome the noise
variations and background variations caused by the surrounding and
provide more accurate and precise result. It also helps toovercome the
uneven nature of the current trend of face recognition and detection.
From the experiments it is clear that the proposed CNN achieves a high
accuracy when compared to other architectures. The proposed algorithm
works effectively for different types of images. These results suggest that
the proposed CNN model reduces complexity and make method
computationally effective. The proposed system works well effectively for
grayscale as well as for the colour image with masks on it or without
masks on it.

CONCLUSION AND FUTURE SCOPE


• In this pandemic situation, where whole world is dreaming to return to
normal routine, this system will play effective role in monitoring the use
of face masks at workplaces.
• By the development of this system, we can detect the mask on one’s
face and allow his entry in the workplace.
• This system also contributes to public healthcare, as it helps in keeping
environment healthy.
• This system can be aptly used in public areas with embedded systems
for application in airports, railway stations, offices, schools, and public
places to ensure that public safety guidelines are followed. R

TECHNOLOGY USED
Python and machine learning

HARDWARE AND SOFTWARE ENVIRONMENT


REFRENCES
[1] Toshanlal Meenpal, Ashutosh Balakrishnan, Amit Verma, “Facial Mask
Detection using Semantic Segmentation”, in 2019 4th International
Conference on Computing, Communications and Security (ICCCS), 2019.

[2] A. Kumar, A. Kaur and M. Kumar, “Face detection techniques: a


review”, Artificial Intelligence Review, vol.52, no.2, pp.927-948, 2019.

[3] Amit Chavda, Jason Dsouza, Sumeet Badgujar, Ankit Damani, “Multi-
Stage CNN Architecture for Face Mask Detection”, September 2020.

[4] Vinitha.V, Velantina.V, “COVID-19 Facemask Detection with Deep


Learning and Computer Vision”, in IRJET, August 2020.

[5] Mingjie Jiang, Xinqi Fan, Hong Yan “Retina FaceMask: A Face Mask
Detector”, June 2020. [6] S. Feng, C. Shen, N. Xia, W. Song, M. Fan and
B.J.Cowling , “Rational use of Face masks in the covid-19 pandemic”, The
Lancet Respiratory Medicine, 2020.

You might also like