SlideShare a Scribd company logo
1 of 23
Srikar Dasharadhi
222021601001
M-tech Data Science
Mentor:-
Prof S.Phani Kumar(HOD)
 Abstract
 Introduction
 Existing System
 Proposed System
 Literature Servey
 Data Set
 Sequential Model
 VGG16 Model
 MobileNet V2 Model
 Loss and Accuracy Graphs of the Model
 Resulting Outputs
 References
• In the recent years, the Corona viruses disease(COVID-19) which is a big family
of different viruses have become very common, spreadable, contagious and
dangerous to the entire world of human kind. It transmits mostly through nose
and mouth,If a infected person sneeze or cough which leaves droplets of the
virus on different surface which is then inhaled by other person he also catches
the infection too. So it has become very crucial to protect ourselves and the
people around us from this situation. We need to take precautions such as
maintaining social distancing, washing hands every two hours, using sanitizer,
and the most importantly wearing a mask. The usage of wearing mask by public
has become very common everywhere in the entire world. From that like India
there are other countries with vast population in small area are most affected
and in devastating condition to the present scenario of pandemic. This paper
proposes a method to detect the face which is masked or not masked, because
some work places with a lot of people coming to work or to study like schools or
colleges. Here we have used the pretrained models such as the MobileNetV2,
Sequential model, and VGG-16 are used in our context. The model is trained on
a real world data set and tested with live video streaming. Further the accuracy
of the model with different hyper parameters and multiple people at different
distance and location of the frame is done.
• Technologies in fields like Machine Learning,
Deep Learning and Artificial Intelligence have
made our lives easier and provide solutions to
several complex problems in various areas. This
model helps in reduce the man power and will
recognise the Masked and Non masked people
through live video Stream where there is overly
crowded places like Educational Institutions,
Shopping Malls, Companies, etc.
• In this system if a person wears face mask
Improperly by not covering nose even
though it will get the best output results.
This paper reproduced the training and
testing of the most used classical machine
learning model techniques with opencv,
tensor flow and keras.
• We propose a two-stage CNN architecture, where the
first stage detects human faces, while the second stage
uses a lightweight image classifier to classify the faces
detected in the first stage as either ‘Mask’ or ‘No Mask’
faces and draws bounding boxes around them along
with the detected class name.By using imutils we can
integrate the live video cam to detect the with or
without masks persons.
Data Set:-
• The Training Data Set that is used in this is the
combination of many images of having with and
without masks.These pictures were taken from
different assets like Kaggle and RMFD datasets. This
data set consists of 2155 Images of data in with mask
category and 2023 Images of data in without mask
category with different Angles.
Deep Learning Models That I Have Used
To Find The Accuracy And Loss
Percentage:
• 1.
Sequential Model:-
• The Sequential CNN model consists of
layers such as Conv2D, MaXPooling2D,
Flatten, Dropout and Dense. To get the
probability of each class SoftMax function is
used in the Dense layer.
• The Sequential CNN model is trained with
20 epochs which gives us training accuracy
of 0.9899 with loss of 0.0346 beyond which
the accuracy changes due to increased
training time and based upon parameter
values.
CNN Architecture :-
VGG-16 Model :-
• Before training with VGG16 model we used
ImageDataGenerator for data augmentation. Later
VGG16 CNN is trained which has 17 convolution layers
and 5 Max Pooling layers.
• The model is trained upon the training dataset and gives
accuracy of 0.9427 with loss of 0.1436.
VGG 16 Architecture :-
MobileNet V2 Model :-
• MobileNetV2 architecture has two blocks
of stride 1 and 2 for residual block and
downsizing
• Each block consists of 3 layers such as
1x1 convolution with ReLU6, depth wise
convolution and 1x1 convolution without
non-linearity.
• Model is trained for 20 epochs and gives
accuracy of 0.9922 with loss of 0.0282 for
the training set. Fig. 5 represents the
MobileNetV2 architecture.
MobileNetV2 architecture :-
:-
Mobile Net v2 Accuracy and Epochs Graphs :-
Outputs for VGG16 with mask and without mask:-
Outputs for CNN model with mask and without
mask :-
Outputs for MobileNet model:-
Experimental Results :-
Wearing Mask
Result %
No MaskResult % Half maskResult %
MobileNet Mask : 99.80% No Mask: 100% No Mask: 97.36%
CNN Mask: 97.55% No Mask: 90% Mask : 88.14%
Vgg 16 Mask: 94.26% No Mask: 100% No Mask : 94.62%
Future Scope:-
• The present model proposed gives great accuracy for single face
and multiple faces with and without mask also it gives quite good
accuracy. It works easily on any mobile device just by switching on
the video stream, with no external hardware requirement. Further I
will work for improving the accuracy for multiple face mask
detection, to classify the faces into three categories that is, With
mask, without mask, Improper mask instead of just the two with and
without mask class
REFERENCES:-
[1] A. G. Howard, M. Zhu, B. Chen et al., “Mobilenets: efficient
convolutional neural networks for mobile vision applications,” 2017,
https://arxiv.org/abs/1704.04861.
[2] Wei Wang, Yutao Li, Ting Zou, Xin Wang, Jieyu You, Yanhong
Luo, "A Novel Image Classification Approach via Dense-MobileNet
Models", Mobile Information Systems, vol. 2020,ArticleID 7602384,
8 pages, 2020. https://doi.org/10.11 55/2020/7602384
[3] I. B. Venkateswarlu, J. Kakarla and S. Prakash, "Face mask
detection using MobileNet and Global Pooling Block," 4 2020 IEEE
4th Conference on Information & Communication Technology
(CICT), 2020, pp. 1-5, doi: 10.1109/CICT51604.2020.9312083.
[4] M. S. Ejaz and M. R. Islam, "Masked Face Recognition Using
Convolutional Neural Network," 2019 International Conference on
Sustainable Technologies for Industry 4.0 (STI), 2019, pp. 1-6, doi:
10.1109/STI47673.2019.9068044
[5] Changjin Li, Jian Cao, and Xing Zhang. 2020. Robust Deep
Learning Method to Detect Face Masks. In Proceedings of the 2nd
International Conference on Artificial Intelligence and Advanced
Manufacture (AIAM2020). Association for Computing Machinery,
New York, NY, USA, 74–77.
DOI:https://doi.org/10.1145/3421766.3421768
[6] K. Simonyan and A. Zisserman, “Very deep convolutional
networks forlarge-scale image recognition,” CoRR, vol.
abs/1409.1556, 2014.
Thank You
Yours
Sincerely,
D.Srikar.

More Related Content

What's hot

Facel expression recognition
Facel expression recognitionFacel expression recognition
Facel expression recognitionMintoo Jakhmola
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technologyranjit banshpal
 
Facial Emoji Recognition
Facial Emoji RecognitionFacial Emoji Recognition
Facial Emoji Recognitionijtsrd
 
Facial Emotion Recognition: A Deep Learning approach
Facial Emotion Recognition: A Deep Learning approachFacial Emotion Recognition: A Deep Learning approach
Facial Emotion Recognition: A Deep Learning approachAshwinRachha
 
4837410 automatic-facial-emotion-recognition
4837410 automatic-facial-emotion-recognition4837410 automatic-facial-emotion-recognition
4837410 automatic-facial-emotion-recognitionNgaire Taylor
 
Emotion recognition using image processing in deep learning
Emotion recognition using image     processing in deep learningEmotion recognition using image     processing in deep learning
Emotion recognition using image processing in deep learningvishnuv43
 
Automatic Attendance system using Facial Recognition
Automatic Attendance system using Facial RecognitionAutomatic Attendance system using Facial Recognition
Automatic Attendance system using Facial RecognitionNikyaa7
 
Facial emotion detection on babies' emotional face using Deep Learning.
Facial emotion detection on babies' emotional face using Deep Learning.Facial emotion detection on babies' emotional face using Deep Learning.
Facial emotion detection on babies' emotional face using Deep Learning.Takrim Ul Islam Laskar
 
Facial emotion recognition
Facial emotion recognitionFacial emotion recognition
Facial emotion recognitionRahin Patel
 
Face recognition ppt
Face recognition pptFace recognition ppt
Face recognition pptSantosh Kumar
 
HUMAN EMOTION RECOGNIITION SYSTEM
HUMAN EMOTION RECOGNIITION SYSTEMHUMAN EMOTION RECOGNIITION SYSTEM
HUMAN EMOTION RECOGNIITION SYSTEMsoumi sarkar
 
Automated Face Detection System
Automated Face Detection SystemAutomated Face Detection System
Automated Face Detection SystemAbhiroop Ghatak
 
Face recognization
Face recognizationFace recognization
Face recognizationleenak770
 
Face recognization using artificial nerual network
Face recognization using artificial nerual networkFace recognization using artificial nerual network
Face recognization using artificial nerual networkDharmesh Tank
 
Face Recognition based Lecture Attendance System
Face Recognition based Lecture Attendance SystemFace Recognition based Lecture Attendance System
Face Recognition based Lecture Attendance SystemKarmesh Maheshwari
 
Facial expression recognition system : survey
Facial expression recognition system : surveyFacial expression recognition system : survey
Facial expression recognition system : surveyMohamed Alhmdany
 
Attendance Management System using Face Recognition
Attendance Management System using Face RecognitionAttendance Management System using Face Recognition
Attendance Management System using Face RecognitionNanditaDutta4
 

What's hot (20)

Facel expression recognition
Facel expression recognitionFacel expression recognition
Facel expression recognition
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technology
 
Final year ppt
Final year pptFinal year ppt
Final year ppt
 
Facial Emoji Recognition
Facial Emoji RecognitionFacial Emoji Recognition
Facial Emoji Recognition
 
EMOTION DETECTION USING AI
EMOTION DETECTION USING AIEMOTION DETECTION USING AI
EMOTION DETECTION USING AI
 
Emotion recognition
Emotion recognitionEmotion recognition
Emotion recognition
 
Facial Emotion Recognition: A Deep Learning approach
Facial Emotion Recognition: A Deep Learning approachFacial Emotion Recognition: A Deep Learning approach
Facial Emotion Recognition: A Deep Learning approach
 
4837410 automatic-facial-emotion-recognition
4837410 automatic-facial-emotion-recognition4837410 automatic-facial-emotion-recognition
4837410 automatic-facial-emotion-recognition
 
Emotion recognition using image processing in deep learning
Emotion recognition using image     processing in deep learningEmotion recognition using image     processing in deep learning
Emotion recognition using image processing in deep learning
 
Automatic Attendance system using Facial Recognition
Automatic Attendance system using Facial RecognitionAutomatic Attendance system using Facial Recognition
Automatic Attendance system using Facial Recognition
 
Facial emotion detection on babies' emotional face using Deep Learning.
Facial emotion detection on babies' emotional face using Deep Learning.Facial emotion detection on babies' emotional face using Deep Learning.
Facial emotion detection on babies' emotional face using Deep Learning.
 
Facial emotion recognition
Facial emotion recognitionFacial emotion recognition
Facial emotion recognition
 
Face recognition ppt
Face recognition pptFace recognition ppt
Face recognition ppt
 
HUMAN EMOTION RECOGNIITION SYSTEM
HUMAN EMOTION RECOGNIITION SYSTEMHUMAN EMOTION RECOGNIITION SYSTEM
HUMAN EMOTION RECOGNIITION SYSTEM
 
Automated Face Detection System
Automated Face Detection SystemAutomated Face Detection System
Automated Face Detection System
 
Face recognization
Face recognizationFace recognization
Face recognization
 
Face recognization using artificial nerual network
Face recognization using artificial nerual networkFace recognization using artificial nerual network
Face recognization using artificial nerual network
 
Face Recognition based Lecture Attendance System
Face Recognition based Lecture Attendance SystemFace Recognition based Lecture Attendance System
Face Recognition based Lecture Attendance System
 
Facial expression recognition system : survey
Facial expression recognition system : surveyFacial expression recognition system : survey
Facial expression recognition system : survey
 
Attendance Management System using Face Recognition
Attendance Management System using Face RecognitionAttendance Management System using Face Recognition
Attendance Management System using Face Recognition
 

Similar to Mask Detection Using CNN, VGG16 and MobileNetV2 Models

FACE MASK DETECTION USING MACHINE LEARNING AND IMAGE PROCESSING
FACE MASK DETECTION USING MACHINE LEARNING AND IMAGE PROCESSINGFACE MASK DETECTION USING MACHINE LEARNING AND IMAGE PROCESSING
FACE MASK DETECTION USING MACHINE LEARNING AND IMAGE PROCESSINGIRJET Journal
 
COVID-19-Preventions-Control-System and Unconstrained Face-mask and Face-hand...
COVID-19-Preventions-Control-System and Unconstrained Face-mask and Face-hand...COVID-19-Preventions-Control-System and Unconstrained Face-mask and Face-hand...
COVID-19-Preventions-Control-System and Unconstrained Face-mask and Face-hand...SaiPrakash106
 
Face Mask and Social Distance Detection
Face Mask and Social Distance DetectionFace Mask and Social Distance Detection
Face Mask and Social Distance DetectionIRJET Journal
 
Covid Mask Detection and Social Distancing Using Raspberry pi
Covid Mask Detection and Social Distancing Using Raspberry piCovid Mask Detection and Social Distancing Using Raspberry pi
Covid Mask Detection and Social Distancing Using Raspberry piIRJET Journal
 
Real Time Face Mask Detection
Real Time Face Mask DetectionReal Time Face Mask Detection
Real Time Face Mask DetectionIRJET Journal
 
Face Mask Detection using CNN and OpenCV
Face Mask Detection using CNN and OpenCVFace Mask Detection using CNN and OpenCV
Face Mask Detection using CNN and OpenCVIRJET Journal
 
Face-Mask Alert System Using Transfer Learning
Face-Mask Alert System Using Transfer LearningFace-Mask Alert System Using Transfer Learning
Face-Mask Alert System Using Transfer LearningIRJET Journal
 
face mask detection ppt66 (1)M M.pptx
face mask detection ppt66 (1)M M.pptxface mask detection ppt66 (1)M M.pptx
face mask detection ppt66 (1)M M.pptxShreyaMishra883730
 
FACEMASK AND PHYSICAL DISTANCING DETECTION USING TRANSFER LEARNING TECHNIQUE
FACEMASK AND PHYSICAL DISTANCING DETECTION USING TRANSFER LEARNING TECHNIQUEFACEMASK AND PHYSICAL DISTANCING DETECTION USING TRANSFER LEARNING TECHNIQUE
FACEMASK AND PHYSICAL DISTANCING DETECTION USING TRANSFER LEARNING TECHNIQUEIRJET Journal
 
Intelligent System For Face Mask Detection
Intelligent System For Face Mask DetectionIntelligent System For Face Mask Detection
Intelligent System For Face Mask DetectionIRJET Journal
 
ACCESS CONTROL SYSTEM USING FACE MASK DETECTION USING ARTIFICIAL INTELLIGENCE
ACCESS CONTROL SYSTEM USING FACE MASK DETECTION USING ARTIFICIAL INTELLIGENCEACCESS CONTROL SYSTEM USING FACE MASK DETECTION USING ARTIFICIAL INTELLIGENCE
ACCESS CONTROL SYSTEM USING FACE MASK DETECTION USING ARTIFICIAL INTELLIGENCEIRJET Journal
 
Deep Learning Assisted Tool for Face Mask Detection
Deep Learning Assisted Tool for Face Mask DetectionDeep Learning Assisted Tool for Face Mask Detection
Deep Learning Assisted Tool for Face Mask DetectionIRJET Journal
 
mnask detetor ppt using deep learning.pptx
mnask detetor ppt using  deep learning.pptxmnask detetor ppt using  deep learning.pptx
mnask detetor ppt using deep learning.pptxJaSa18
 
FACE MASK DETECTION AND COUNTER IN THINGSPEAK WITH EMAIL ALERT SYSTEM FOR COV...
FACE MASK DETECTION AND COUNTER IN THINGSPEAK WITH EMAIL ALERT SYSTEM FOR COV...FACE MASK DETECTION AND COUNTER IN THINGSPEAK WITH EMAIL ALERT SYSTEM FOR COV...
FACE MASK DETECTION AND COUNTER IN THINGSPEAK WITH EMAIL ALERT SYSTEM FOR COV...IRJET Journal
 
Face Mask Detection utilizing Tensorflow, OpenCV and Keras
Face Mask Detection utilizing Tensorflow, OpenCV and KerasFace Mask Detection utilizing Tensorflow, OpenCV and Keras
Face Mask Detection utilizing Tensorflow, OpenCV and KerasIRJET Journal
 
Designing of Application for Detection of Face Mask and Social Distancing Dur...
Designing of Application for Detection of Face Mask and Social Distancing Dur...Designing of Application for Detection of Face Mask and Social Distancing Dur...
Designing of Application for Detection of Face Mask and Social Distancing Dur...IRJET Journal
 
FACE MASK DETECTION MODEL USING CONVOLUTIONAL NEURAL NETWORK
FACE MASK DETECTION MODEL USING CONVOLUTIONAL NEURAL NETWORKFACE MASK DETECTION MODEL USING CONVOLUTIONAL NEURAL NETWORK
FACE MASK DETECTION MODEL USING CONVOLUTIONAL NEURAL NETWORKmlaij
 
Social distance and face mask detector system exploiting transfer learning
Social distance and face mask detector system exploiting  transfer learningSocial distance and face mask detector system exploiting  transfer learning
Social distance and face mask detector system exploiting transfer learningIJECEIAES
 
Face mask detection using deep learning on NVIDIA Jetson Nano
Face mask detection using deep learning on NVIDIA Jetson  NanoFace mask detection using deep learning on NVIDIA Jetson  Nano
Face mask detection using deep learning on NVIDIA Jetson NanoIJECEIAES
 
Deep learning based masked face recognition in the era of the COVID-19 pandemic
Deep learning based masked face recognition in the era of the COVID-19 pandemicDeep learning based masked face recognition in the era of the COVID-19 pandemic
Deep learning based masked face recognition in the era of the COVID-19 pandemicIJECEIAES
 

Similar to Mask Detection Using CNN, VGG16 and MobileNetV2 Models (20)

FACE MASK DETECTION USING MACHINE LEARNING AND IMAGE PROCESSING
FACE MASK DETECTION USING MACHINE LEARNING AND IMAGE PROCESSINGFACE MASK DETECTION USING MACHINE LEARNING AND IMAGE PROCESSING
FACE MASK DETECTION USING MACHINE LEARNING AND IMAGE PROCESSING
 
COVID-19-Preventions-Control-System and Unconstrained Face-mask and Face-hand...
COVID-19-Preventions-Control-System and Unconstrained Face-mask and Face-hand...COVID-19-Preventions-Control-System and Unconstrained Face-mask and Face-hand...
COVID-19-Preventions-Control-System and Unconstrained Face-mask and Face-hand...
 
Face Mask and Social Distance Detection
Face Mask and Social Distance DetectionFace Mask and Social Distance Detection
Face Mask and Social Distance Detection
 
Covid Mask Detection and Social Distancing Using Raspberry pi
Covid Mask Detection and Social Distancing Using Raspberry piCovid Mask Detection and Social Distancing Using Raspberry pi
Covid Mask Detection and Social Distancing Using Raspberry pi
 
Real Time Face Mask Detection
Real Time Face Mask DetectionReal Time Face Mask Detection
Real Time Face Mask Detection
 
Face Mask Detection using CNN and OpenCV
Face Mask Detection using CNN and OpenCVFace Mask Detection using CNN and OpenCV
Face Mask Detection using CNN and OpenCV
 
Face-Mask Alert System Using Transfer Learning
Face-Mask Alert System Using Transfer LearningFace-Mask Alert System Using Transfer Learning
Face-Mask Alert System Using Transfer Learning
 
face mask detection ppt66 (1)M M.pptx
face mask detection ppt66 (1)M M.pptxface mask detection ppt66 (1)M M.pptx
face mask detection ppt66 (1)M M.pptx
 
FACEMASK AND PHYSICAL DISTANCING DETECTION USING TRANSFER LEARNING TECHNIQUE
FACEMASK AND PHYSICAL DISTANCING DETECTION USING TRANSFER LEARNING TECHNIQUEFACEMASK AND PHYSICAL DISTANCING DETECTION USING TRANSFER LEARNING TECHNIQUE
FACEMASK AND PHYSICAL DISTANCING DETECTION USING TRANSFER LEARNING TECHNIQUE
 
Intelligent System For Face Mask Detection
Intelligent System For Face Mask DetectionIntelligent System For Face Mask Detection
Intelligent System For Face Mask Detection
 
ACCESS CONTROL SYSTEM USING FACE MASK DETECTION USING ARTIFICIAL INTELLIGENCE
ACCESS CONTROL SYSTEM USING FACE MASK DETECTION USING ARTIFICIAL INTELLIGENCEACCESS CONTROL SYSTEM USING FACE MASK DETECTION USING ARTIFICIAL INTELLIGENCE
ACCESS CONTROL SYSTEM USING FACE MASK DETECTION USING ARTIFICIAL INTELLIGENCE
 
Deep Learning Assisted Tool for Face Mask Detection
Deep Learning Assisted Tool for Face Mask DetectionDeep Learning Assisted Tool for Face Mask Detection
Deep Learning Assisted Tool for Face Mask Detection
 
mnask detetor ppt using deep learning.pptx
mnask detetor ppt using  deep learning.pptxmnask detetor ppt using  deep learning.pptx
mnask detetor ppt using deep learning.pptx
 
FACE MASK DETECTION AND COUNTER IN THINGSPEAK WITH EMAIL ALERT SYSTEM FOR COV...
FACE MASK DETECTION AND COUNTER IN THINGSPEAK WITH EMAIL ALERT SYSTEM FOR COV...FACE MASK DETECTION AND COUNTER IN THINGSPEAK WITH EMAIL ALERT SYSTEM FOR COV...
FACE MASK DETECTION AND COUNTER IN THINGSPEAK WITH EMAIL ALERT SYSTEM FOR COV...
 
Face Mask Detection utilizing Tensorflow, OpenCV and Keras
Face Mask Detection utilizing Tensorflow, OpenCV and KerasFace Mask Detection utilizing Tensorflow, OpenCV and Keras
Face Mask Detection utilizing Tensorflow, OpenCV and Keras
 
Designing of Application for Detection of Face Mask and Social Distancing Dur...
Designing of Application for Detection of Face Mask and Social Distancing Dur...Designing of Application for Detection of Face Mask and Social Distancing Dur...
Designing of Application for Detection of Face Mask and Social Distancing Dur...
 
FACE MASK DETECTION MODEL USING CONVOLUTIONAL NEURAL NETWORK
FACE MASK DETECTION MODEL USING CONVOLUTIONAL NEURAL NETWORKFACE MASK DETECTION MODEL USING CONVOLUTIONAL NEURAL NETWORK
FACE MASK DETECTION MODEL USING CONVOLUTIONAL NEURAL NETWORK
 
Social distance and face mask detector system exploiting transfer learning
Social distance and face mask detector system exploiting  transfer learningSocial distance and face mask detector system exploiting  transfer learning
Social distance and face mask detector system exploiting transfer learning
 
Face mask detection using deep learning on NVIDIA Jetson Nano
Face mask detection using deep learning on NVIDIA Jetson  NanoFace mask detection using deep learning on NVIDIA Jetson  Nano
Face mask detection using deep learning on NVIDIA Jetson Nano
 
Deep learning based masked face recognition in the era of the COVID-19 pandemic
Deep learning based masked face recognition in the era of the COVID-19 pandemicDeep learning based masked face recognition in the era of the COVID-19 pandemic
Deep learning based masked face recognition in the era of the COVID-19 pandemic
 

Recently uploaded

Data Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxData Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxFurkanTasci3
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdfHuman37
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort servicejennyeacort
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样vhwb25kk
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一F sss
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfJohn Sterrett
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFAAndrei Kaleshka
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 

Recently uploaded (20)

Data Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxData Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptx
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
Call Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort ServiceCall Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort Service
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdf
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFA
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 

Mask Detection Using CNN, VGG16 and MobileNetV2 Models

  • 1. Srikar Dasharadhi 222021601001 M-tech Data Science Mentor:- Prof S.Phani Kumar(HOD)
  • 2.  Abstract  Introduction  Existing System  Proposed System  Literature Servey  Data Set  Sequential Model  VGG16 Model  MobileNet V2 Model  Loss and Accuracy Graphs of the Model  Resulting Outputs  References
  • 3. • In the recent years, the Corona viruses disease(COVID-19) which is a big family of different viruses have become very common, spreadable, contagious and dangerous to the entire world of human kind. It transmits mostly through nose and mouth,If a infected person sneeze or cough which leaves droplets of the virus on different surface which is then inhaled by other person he also catches the infection too. So it has become very crucial to protect ourselves and the people around us from this situation. We need to take precautions such as maintaining social distancing, washing hands every two hours, using sanitizer, and the most importantly wearing a mask. The usage of wearing mask by public has become very common everywhere in the entire world. From that like India there are other countries with vast population in small area are most affected and in devastating condition to the present scenario of pandemic. This paper proposes a method to detect the face which is masked or not masked, because some work places with a lot of people coming to work or to study like schools or colleges. Here we have used the pretrained models such as the MobileNetV2, Sequential model, and VGG-16 are used in our context. The model is trained on a real world data set and tested with live video streaming. Further the accuracy of the model with different hyper parameters and multiple people at different distance and location of the frame is done.
  • 4. • Technologies in fields like Machine Learning, Deep Learning and Artificial Intelligence have made our lives easier and provide solutions to several complex problems in various areas. This model helps in reduce the man power and will recognise the Masked and Non masked people through live video Stream where there is overly crowded places like Educational Institutions, Shopping Malls, Companies, etc.
  • 5. • In this system if a person wears face mask Improperly by not covering nose even though it will get the best output results. This paper reproduced the training and testing of the most used classical machine learning model techniques with opencv, tensor flow and keras.
  • 6. • We propose a two-stage CNN architecture, where the first stage detects human faces, while the second stage uses a lightweight image classifier to classify the faces detected in the first stage as either ‘Mask’ or ‘No Mask’ faces and draws bounding boxes around them along with the detected class name.By using imutils we can integrate the live video cam to detect the with or without masks persons.
  • 7. Data Set:- • The Training Data Set that is used in this is the combination of many images of having with and without masks.These pictures were taken from different assets like Kaggle and RMFD datasets. This data set consists of 2155 Images of data in with mask category and 2023 Images of data in without mask category with different Angles.
  • 8. Deep Learning Models That I Have Used To Find The Accuracy And Loss Percentage: • 1.
  • 9. Sequential Model:- • The Sequential CNN model consists of layers such as Conv2D, MaXPooling2D, Flatten, Dropout and Dense. To get the probability of each class SoftMax function is used in the Dense layer. • The Sequential CNN model is trained with 20 epochs which gives us training accuracy of 0.9899 with loss of 0.0346 beyond which the accuracy changes due to increased training time and based upon parameter values. CNN Architecture :-
  • 10. VGG-16 Model :- • Before training with VGG16 model we used ImageDataGenerator for data augmentation. Later VGG16 CNN is trained which has 17 convolution layers and 5 Max Pooling layers. • The model is trained upon the training dataset and gives accuracy of 0.9427 with loss of 0.1436. VGG 16 Architecture :-
  • 11. MobileNet V2 Model :- • MobileNetV2 architecture has two blocks of stride 1 and 2 for residual block and downsizing • Each block consists of 3 layers such as 1x1 convolution with ReLU6, depth wise convolution and 1x1 convolution without non-linearity. • Model is trained for 20 epochs and gives accuracy of 0.9922 with loss of 0.0282 for the training set. Fig. 5 represents the MobileNetV2 architecture. MobileNetV2 architecture :-
  • 12.
  • 13. :-
  • 14.
  • 15. Mobile Net v2 Accuracy and Epochs Graphs :-
  • 16. Outputs for VGG16 with mask and without mask:-
  • 17. Outputs for CNN model with mask and without mask :-
  • 19. Experimental Results :- Wearing Mask Result % No MaskResult % Half maskResult % MobileNet Mask : 99.80% No Mask: 100% No Mask: 97.36% CNN Mask: 97.55% No Mask: 90% Mask : 88.14% Vgg 16 Mask: 94.26% No Mask: 100% No Mask : 94.62%
  • 20. Future Scope:- • The present model proposed gives great accuracy for single face and multiple faces with and without mask also it gives quite good accuracy. It works easily on any mobile device just by switching on the video stream, with no external hardware requirement. Further I will work for improving the accuracy for multiple face mask detection, to classify the faces into three categories that is, With mask, without mask, Improper mask instead of just the two with and without mask class
  • 21. REFERENCES:- [1] A. G. Howard, M. Zhu, B. Chen et al., “Mobilenets: efficient convolutional neural networks for mobile vision applications,” 2017, https://arxiv.org/abs/1704.04861. [2] Wei Wang, Yutao Li, Ting Zou, Xin Wang, Jieyu You, Yanhong Luo, "A Novel Image Classification Approach via Dense-MobileNet Models", Mobile Information Systems, vol. 2020,ArticleID 7602384, 8 pages, 2020. https://doi.org/10.11 55/2020/7602384 [3] I. B. Venkateswarlu, J. Kakarla and S. Prakash, "Face mask detection using MobileNet and Global Pooling Block," 4 2020 IEEE 4th Conference on Information & Communication Technology (CICT), 2020, pp. 1-5, doi: 10.1109/CICT51604.2020.9312083.
  • 22. [4] M. S. Ejaz and M. R. Islam, "Masked Face Recognition Using Convolutional Neural Network," 2019 International Conference on Sustainable Technologies for Industry 4.0 (STI), 2019, pp. 1-6, doi: 10.1109/STI47673.2019.9068044 [5] Changjin Li, Jian Cao, and Xing Zhang. 2020. Robust Deep Learning Method to Detect Face Masks. In Proceedings of the 2nd International Conference on Artificial Intelligence and Advanced Manufacture (AIAM2020). Association for Computing Machinery, New York, NY, USA, 74–77. DOI:https://doi.org/10.1145/3421766.3421768 [6] K. Simonyan and A. Zisserman, “Very deep convolutional networks forlarge-scale image recognition,” CoRR, vol. abs/1409.1556, 2014.