SlideShare a Scribd company logo
1 of 3
Face Mask DetectionusingConvolutional Neural Networks
Thisprojectexplainsamethodof buildingaFace Mask DetectorusingConvolutionalNeural
Networks(CNN) Python,Keras,Tensorflow,andOpenCV.Withfurtherimprovements,thesetypesof
modelscouldbe integratedwithCCTV orothertypesof camerasto detectandidentifypeople
withoutmasks.Withthe prevailingworldwide situationdue tothe COVID-19pandemic,thesetypes
of systemswouldbe verysupportive formanykindsof institutionsaround the world.
In thisPythonprogrammingvideo,we willlearnbuildingaFace Mask DetectorusingKeras,
Tensorflow, MobileNet,andOpenCV.We willalsosee how toapplythistoa Live VideoCamera.
Withfurtherimprovements,thesetypesof modelscouldbe integratedwithCCTV camerastodetect
and identifypeople withoutmasks.
The face maskdetectordidn'tuse any morphedmaskedimagesdataset.The model isaccurate,and
since the MobileNetV2architecture isused,it'salsocomputationallyefficientandthusmakingit
easiertodeploythe model toembeddedsystems(RaspberryPi,Google Coral,etc.).Thissystemcan,
therefore,be usedinreal-timeapplicationsthatrequireface-maskdetectionforsafetypurposesdue
to the outbreakof Covid-19.Thisprojectcan be integratedwithembeddedsystemsforapplication
inairports,railwaystations,offices,schools,andpublicplacestoensure thatpublicsafetyguidelines
are followed.
Introduction:
In thismodule,we'lldiscussourface maskdetector,detailinghow ourcomputervision/deep
learningpipeline will be implemented.Fromthere,we'llreview the datasetwe'llbe usingtotrain
our customface maskdetector.
I'll thenshowyouhow to implementaPythonscripttotrain a face mask detectoronour dataset
usingKerasand TensorFlow.We’ll use thisPythonscripttotraina face maskdetectorand review
the results.
Project Directory:
We'll be reviewing2Pythonscriptsinthisproject:
1. train_mask_detector.py: Acceptsour inputdatasetandfine-tunesMobileNetV2uponitto
create our mask_detector.model.A traininghistoryplot.pngcontainingaccuracy/losscurves
isalso produced.
2. detect_mask_video.py:Usingyourwebcam, thisscriptappliesface maskdetectiontoevery
frame inthe stream.
Mobile Nets:
Nowthat we've reviewedourface maskdatasetanddone withthe data-preprocessing.Let’slearn
howwe can use Kerasand TensorFlowtotraina classifierto automatically detectwhetheraperson
iswearinga maskor not.
To accomplishthistask,we'll be fine-tuningthe MobileNetV2architecture,ahighlyefficient
architecture thatcan be appliedtoembeddeddeviceswithlimitedcomputational capacity.(ex.,
RaspberryPi,Google Coral,NVIDIA JetsonNano,etc.)
Deployingourface maskdetectortoembeddeddevices couldreduce the costof manufacturingsuch
face mask detectionsystems,hence whywe choose touse thisarchitecture.
We will bypassthe traditionalconvolutionmethodof image processinginneural networksand
introduce "MobileNet".
MobileNetisastreamlinedarchitecture that usesdepthwise separable convolutionstoconstruct
lightweightdeepconvolutional neural networksandprovidesanefficientmodel formobile and
embeddedvisionapplications.The structure of MobileNetisbasedondepthwise separablefilters.
MobileNetsare veryfastercomparedtothe convolutionNeural Network.AndalsoMobileNetsuses
fewerparameters.One disadvantagewithMobilenetsisthatthe outputwill be lessaccurate
comparedto itscompetitors.
By doingthisDIY project, youlearnedhow tocreate a Face Mask DetectorusingPython,Keras,
OpenCV,andMobileNet.
To create our face maskdetector,we trainedatwo-classmodel of peoplewearingmasks and
people notwearingmasks.
We fine-tunedMobileNetV2onourmask/nomask datasetand obtainedaclassifierthatis ~99%
accurate.
The projectcan be explainedclearlyinthe below steps.
1. Introduction
2. DataSet
3. ProjectDirectory
4. Data Preprocessing
5. MobileNets
6. Trainingthe Model
7. Run the Model
8. Applythe model incamera
9. Result
10. Summary
11. Resources
12. Module Test
SkillPractical Artificial Intelligence Learningpath give astructure to trainingprograms. Thislearning
path isdesignedforindividualswhowanttolearnhow to use the mostcommontopicsin Artificial
Intelligence.Theywillcoverinastepby stepprocedure frombeginnertoadvanced.

More Related Content

What's hot

Face Recognition based Lecture Attendance System
Face Recognition based Lecture Attendance SystemFace Recognition based Lecture Attendance System
Face Recognition based Lecture Attendance SystemKarmesh Maheshwari
 
Face Recognition Methods based on Convolutional Neural Networks
Face Recognition Methods based on Convolutional Neural NetworksFace Recognition Methods based on Convolutional Neural Networks
Face Recognition Methods based on Convolutional Neural NetworksElaheh Rashedi
 
Federated learning in brief
Federated learning in briefFederated learning in brief
Federated learning in briefShashi Perera
 
Automated Face Detection System
Automated Face Detection SystemAutomated Face Detection System
Automated Face Detection SystemAbhiroop Ghatak
 
Human age and gender Detection
Human age and gender DetectionHuman age and gender Detection
Human age and gender DetectionAbhiAchalla
 
AGE AND GENDER DETECTION.pptx
AGE AND GENDER DETECTION.pptxAGE AND GENDER DETECTION.pptx
AGE AND GENDER DETECTION.pptxssuserb4a9ba
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technologyranjit banshpal
 
Attendance system based on face recognition using python by Raihan Sikdar
Attendance system based on face recognition using python by Raihan SikdarAttendance system based on face recognition using python by Raihan Sikdar
Attendance system based on face recognition using python by Raihan Sikdarraihansikdar
 
SSII2021 [SS2] Deepfake Generation and Detection – An Overview (ディープフェイクの生成と検出)
SSII2021 [SS2] Deepfake Generation and Detection – An Overview (ディープフェイクの生成と検出)SSII2021 [SS2] Deepfake Generation and Detection – An Overview (ディープフェイクの生成と検出)
SSII2021 [SS2] Deepfake Generation and Detection – An Overview (ディープフェイクの生成と検出)SSII
 
Face Detection and Recognition System
Face Detection and Recognition SystemFace Detection and Recognition System
Face Detection and Recognition SystemZara Tariq
 
Facemask_project (1).pptx
Facemask_project (1).pptxFacemask_project (1).pptx
Facemask_project (1).pptxJosh Josh
 
Attendence management system using face detection
Attendence management system using face detectionAttendence management system using face detection
Attendence management system using face detectionSaurabh Sutone
 
Computer Vision - Real Time Face Recognition using Open CV and Python
Computer Vision - Real Time Face Recognition using Open CV and PythonComputer Vision - Real Time Face Recognition using Open CV and Python
Computer Vision - Real Time Face Recognition using Open CV and PythonAkash Satamkar
 
ppt 20BET1024.pptx
ppt 20BET1024.pptxppt 20BET1024.pptx
ppt 20BET1024.pptxManeetBali
 
Emotion recognition and drowsiness detection using python.ppt
Emotion recognition and drowsiness detection using python.pptEmotion recognition and drowsiness detection using python.ppt
Emotion recognition and drowsiness detection using python.pptGopi Naidu
 
Face detection ppt
Face detection pptFace detection ppt
Face detection pptPooja R
 
Deep Learning in Computer Vision
Deep Learning in Computer VisionDeep Learning in Computer Vision
Deep Learning in Computer VisionSungjoon Choi
 

What's hot (20)

Face Recognition based Lecture Attendance System
Face Recognition based Lecture Attendance SystemFace Recognition based Lecture Attendance System
Face Recognition based Lecture Attendance System
 
Face Recognition Methods based on Convolutional Neural Networks
Face Recognition Methods based on Convolutional Neural NetworksFace Recognition Methods based on Convolutional Neural Networks
Face Recognition Methods based on Convolutional Neural Networks
 
Stress detection using Image processing
Stress detection using Image processingStress detection using Image processing
Stress detection using Image processing
 
Federated learning in brief
Federated learning in briefFederated learning in brief
Federated learning in brief
 
Automated Face Detection System
Automated Face Detection SystemAutomated Face Detection System
Automated Face Detection System
 
Human age and gender Detection
Human age and gender DetectionHuman age and gender Detection
Human age and gender Detection
 
AGE AND GENDER DETECTION.pptx
AGE AND GENDER DETECTION.pptxAGE AND GENDER DETECTION.pptx
AGE AND GENDER DETECTION.pptx
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technology
 
Attendance system based on face recognition using python by Raihan Sikdar
Attendance system based on face recognition using python by Raihan SikdarAttendance system based on face recognition using python by Raihan Sikdar
Attendance system based on face recognition using python by Raihan Sikdar
 
SSII2021 [SS2] Deepfake Generation and Detection – An Overview (ディープフェイクの生成と検出)
SSII2021 [SS2] Deepfake Generation and Detection – An Overview (ディープフェイクの生成と検出)SSII2021 [SS2] Deepfake Generation and Detection – An Overview (ディープフェイクの生成と検出)
SSII2021 [SS2] Deepfake Generation and Detection – An Overview (ディープフェイクの生成と検出)
 
Face Detection and Recognition System
Face Detection and Recognition SystemFace Detection and Recognition System
Face Detection and Recognition System
 
Facemask_project (1).pptx
Facemask_project (1).pptxFacemask_project (1).pptx
Facemask_project (1).pptx
 
Emotion recognition
Emotion recognitionEmotion recognition
Emotion recognition
 
Attendence management system using face detection
Attendence management system using face detectionAttendence management system using face detection
Attendence management system using face detection
 
Computer Vision - Real Time Face Recognition using Open CV and Python
Computer Vision - Real Time Face Recognition using Open CV and PythonComputer Vision - Real Time Face Recognition using Open CV and Python
Computer Vision - Real Time Face Recognition using Open CV and Python
 
ppt 20BET1024.pptx
ppt 20BET1024.pptxppt 20BET1024.pptx
ppt 20BET1024.pptx
 
Emotion recognition and drowsiness detection using python.ppt
Emotion recognition and drowsiness detection using python.pptEmotion recognition and drowsiness detection using python.ppt
Emotion recognition and drowsiness detection using python.ppt
 
Face detection ppt
Face detection pptFace detection ppt
Face detection ppt
 
EMOTION DETECTION USING AI
EMOTION DETECTION USING AIEMOTION DETECTION USING AI
EMOTION DETECTION USING AI
 
Deep Learning in Computer Vision
Deep Learning in Computer VisionDeep Learning in Computer Vision
Deep Learning in Computer Vision
 

Similar to Face mask detection using convolutional neural networks article

Face Mask Detection and Contactless Body Temperature Sensing
Face Mask Detection and Contactless Body Temperature SensingFace Mask Detection and Contactless Body Temperature Sensing
Face Mask Detection and Contactless Body Temperature SensingIRJET Journal
 
Deep fake video detection using machine learning.docx
Deep fake video detection using machine learning.docxDeep fake video detection using machine learning.docx
Deep fake video detection using machine learning.docxShakas Technologies
 
Face Mask Detection System Using Artificial Intelligence
Face Mask Detection System Using Artificial IntelligenceFace Mask Detection System Using Artificial Intelligence
Face Mask Detection System Using Artificial IntelligenceIRJET Journal
 
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
 
People Monitoring and Mask Detection using Real-time video analyzing
People Monitoring and Mask Detection using Real-time video analyzingPeople Monitoring and Mask Detection using Real-time video analyzing
People Monitoring and Mask Detection using Real-time video analyzingvivatechijri
 
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
 
Digital spectacle by using cloud computing
Digital spectacle by using cloud computingDigital spectacle by using cloud computing
Digital spectacle by using cloud computingMandar Pathrikar
 
SMART SURVEILLANCE SYSTEM USING LBPH ALGORITHM
SMART SURVEILLANCE SYSTEM USING LBPH ALGORITHMSMART SURVEILLANCE SYSTEM USING LBPH ALGORITHM
SMART SURVEILLANCE SYSTEM USING LBPH ALGORITHMIRJET 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
 
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
 
MINI PROJECT 2023 deepfake detection.pptx
MINI PROJECT 2023 deepfake detection.pptxMINI PROJECT 2023 deepfake detection.pptx
MINI PROJECT 2023 deepfake detection.pptxswathiravishankar3
 
A probabilistic model of visual cryptography Scheme With Dynamic Group
A probabilistic model of visual cryptography Scheme With Dynamic GroupA probabilistic model of visual cryptography Scheme With Dynamic Group
A probabilistic model of visual cryptography Scheme With Dynamic GroupJPINFOTECH JAYAPRAKASH
 
What is the Future of CCTV Technology For Security.pdf
What is the Future of CCTV Technology For Security.pdfWhat is the Future of CCTV Technology For Security.pdf
What is the Future of CCTV Technology For Security.pdfIsabella Barry
 
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
 
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
 
CRIMINAL IDENTIFICATION FOR LOW RESOLUTION SURVEILLANCE
CRIMINAL IDENTIFICATION FOR LOW RESOLUTION SURVEILLANCECRIMINAL IDENTIFICATION FOR LOW RESOLUTION SURVEILLANCE
CRIMINAL IDENTIFICATION FOR LOW RESOLUTION SURVEILLANCEvivatechijri
 
ROBOTIC VIDEO CONFERENCING SYSTEM
ROBOTIC VIDEO CONFERENCING SYSTEMROBOTIC VIDEO CONFERENCING SYSTEM
ROBOTIC VIDEO CONFERENCING SYSTEMsujithmu
 

Similar to Face mask detection using convolutional neural networks article (20)

Face Mask Detection and Contactless Body Temperature Sensing
Face Mask Detection and Contactless Body Temperature SensingFace Mask Detection and Contactless Body Temperature Sensing
Face Mask Detection and Contactless Body Temperature Sensing
 
Deep fake video detection using machine learning.docx
Deep fake video detection using machine learning.docxDeep fake video detection using machine learning.docx
Deep fake video detection using machine learning.docx
 
Face Mask Detection System Using Artificial Intelligence
Face Mask Detection System Using Artificial IntelligenceFace Mask Detection System Using Artificial Intelligence
Face Mask Detection System Using Artificial Intelligence
 
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
 
People Monitoring and Mask Detection using Real-time video analyzing
People Monitoring and Mask Detection using Real-time video analyzingPeople Monitoring and Mask Detection using Real-time video analyzing
People Monitoring and Mask Detection using Real-time video analyzing
 
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
 
Digital spectacle by using cloud computing
Digital spectacle by using cloud computingDigital spectacle by using cloud computing
Digital spectacle by using cloud computing
 
SMART SURVEILLANCE SYSTEM USING LBPH ALGORITHM
SMART SURVEILLANCE SYSTEM USING LBPH ALGORITHMSMART SURVEILLANCE SYSTEM USING LBPH ALGORITHM
SMART SURVEILLANCE SYSTEM USING LBPH ALGORITHM
 
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
 
2022s Top 10 Disruptive Companies in Quantum Technology.pdf
2022s Top 10 Disruptive Companies in Quantum Technology.pdf2022s Top 10 Disruptive Companies in Quantum Technology.pdf
2022s Top 10 Disruptive Companies in Quantum Technology.pdf
 
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
 
MINI PROJECT 2023 deepfake detection.pptx
MINI PROJECT 2023 deepfake detection.pptxMINI PROJECT 2023 deepfake detection.pptx
MINI PROJECT 2023 deepfake detection.pptx
 
Sec16 paper xu
Sec16 paper xuSec16 paper xu
Sec16 paper xu
 
A probabilistic model of visual cryptography Scheme With Dynamic Group
A probabilistic model of visual cryptography Scheme With Dynamic GroupA probabilistic model of visual cryptography Scheme With Dynamic Group
A probabilistic model of visual cryptography Scheme With Dynamic Group
 
What is the Future of CCTV Technology For Security.pdf
What is the Future of CCTV Technology For Security.pdfWhat is the Future of CCTV Technology For Security.pdf
What is the Future of CCTV Technology For Security.pdf
 
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...
 
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...
 
CRIMINAL IDENTIFICATION FOR LOW RESOLUTION SURVEILLANCE
CRIMINAL IDENTIFICATION FOR LOW RESOLUTION SURVEILLANCECRIMINAL IDENTIFICATION FOR LOW RESOLUTION SURVEILLANCE
CRIMINAL IDENTIFICATION FOR LOW RESOLUTION SURVEILLANCE
 
CLOUD NATIVE SECURITY
CLOUD NATIVE SECURITYCLOUD NATIVE SECURITY
CLOUD NATIVE SECURITY
 
ROBOTIC VIDEO CONFERENCING SYSTEM
ROBOTIC VIDEO CONFERENCING SYSTEMROBOTIC VIDEO CONFERENCING SYSTEM
ROBOTIC VIDEO CONFERENCING SYSTEM
 

More from SkillPracticalEdTech

More from SkillPracticalEdTech (16)

Spring boot competitive tests
Spring boot competitive testsSpring boot competitive tests
Spring boot competitive tests
 
Spring competitive tests
Spring competitive testsSpring competitive tests
Spring competitive tests
 
iOS certification competitive tests and interview questions
iOS certification competitive tests and interview questionsiOS certification competitive tests and interview questions
iOS certification competitive tests and interview questions
 
Dotnet competitive tests
Dotnet competitive testsDotnet competitive tests
Dotnet competitive tests
 
Spring boot competitive tests
Spring boot competitive testsSpring boot competitive tests
Spring boot competitive tests
 
Spring competitive tests
Spring competitive testsSpring competitive tests
Spring competitive tests
 
Apttus job support
Apttus job supportApttus job support
Apttus job support
 
Interview questions on core java
Interview questions on core java Interview questions on core java
Interview questions on core java
 
Spring technical interview questions
Spring technical interview questions Spring technical interview questions
Spring technical interview questions
 
Java interview questions for freshers
Java interview questions for freshersJava interview questions for freshers
Java interview questions for freshers
 
Java developer interview questions
Java developer interview questionsJava developer interview questions
Java developer interview questions
 
Spring interview questions
Spring interview questionsSpring interview questions
Spring interview questions
 
Spring diy projects
Spring diy projectsSpring diy projects
Spring diy projects
 
Spring learning path
Spring learning pathSpring learning path
Spring learning path
 
Skill practical javascript diy projects
Skill practical javascript diy projectsSkill practical javascript diy projects
Skill practical javascript diy projects
 
Core Java Learning Path
Core Java Learning PathCore Java Learning Path
Core Java Learning Path
 

Recently uploaded

KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 

Recently uploaded (20)

KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 

Face mask detection using convolutional neural networks article

  • 1. Face Mask DetectionusingConvolutional Neural Networks Thisprojectexplainsamethodof buildingaFace Mask DetectorusingConvolutionalNeural Networks(CNN) Python,Keras,Tensorflow,andOpenCV.Withfurtherimprovements,thesetypesof modelscouldbe integratedwithCCTV orothertypesof camerasto detectandidentifypeople withoutmasks.Withthe prevailingworldwide situationdue tothe COVID-19pandemic,thesetypes of systemswouldbe verysupportive formanykindsof institutionsaround the world. In thisPythonprogrammingvideo,we willlearnbuildingaFace Mask DetectorusingKeras, Tensorflow, MobileNet,andOpenCV.We willalsosee how toapplythistoa Live VideoCamera. Withfurtherimprovements,thesetypesof modelscouldbe integratedwithCCTV camerastodetect and identifypeople withoutmasks. The face maskdetectordidn'tuse any morphedmaskedimagesdataset.The model isaccurate,and since the MobileNetV2architecture isused,it'salsocomputationallyefficientandthusmakingit easiertodeploythe model toembeddedsystems(RaspberryPi,Google Coral,etc.).Thissystemcan, therefore,be usedinreal-timeapplicationsthatrequireface-maskdetectionforsafetypurposesdue to the outbreakof Covid-19.Thisprojectcan be integratedwithembeddedsystemsforapplication inairports,railwaystations,offices,schools,andpublicplacestoensure thatpublicsafetyguidelines are followed. Introduction:
  • 2. In thismodule,we'lldiscussourface maskdetector,detailinghow ourcomputervision/deep learningpipeline will be implemented.Fromthere,we'llreview the datasetwe'llbe usingtotrain our customface maskdetector. I'll thenshowyouhow to implementaPythonscripttotrain a face mask detectoronour dataset usingKerasand TensorFlow.We’ll use thisPythonscripttotraina face maskdetectorand review the results. Project Directory: We'll be reviewing2Pythonscriptsinthisproject: 1. train_mask_detector.py: Acceptsour inputdatasetandfine-tunesMobileNetV2uponitto create our mask_detector.model.A traininghistoryplot.pngcontainingaccuracy/losscurves isalso produced. 2. detect_mask_video.py:Usingyourwebcam, thisscriptappliesface maskdetectiontoevery frame inthe stream. Mobile Nets: Nowthat we've reviewedourface maskdatasetanddone withthe data-preprocessing.Let’slearn howwe can use Kerasand TensorFlowtotraina classifierto automatically detectwhetheraperson iswearinga maskor not. To accomplishthistask,we'll be fine-tuningthe MobileNetV2architecture,ahighlyefficient architecture thatcan be appliedtoembeddeddeviceswithlimitedcomputational capacity.(ex., RaspberryPi,Google Coral,NVIDIA JetsonNano,etc.) Deployingourface maskdetectortoembeddeddevices couldreduce the costof manufacturingsuch face mask detectionsystems,hence whywe choose touse thisarchitecture. We will bypassthe traditionalconvolutionmethodof image processinginneural networksand introduce "MobileNet". MobileNetisastreamlinedarchitecture that usesdepthwise separable convolutionstoconstruct lightweightdeepconvolutional neural networksandprovidesanefficientmodel formobile and embeddedvisionapplications.The structure of MobileNetisbasedondepthwise separablefilters. MobileNetsare veryfastercomparedtothe convolutionNeural Network.AndalsoMobileNetsuses fewerparameters.One disadvantagewithMobilenetsisthatthe outputwill be lessaccurate comparedto itscompetitors. By doingthisDIY project, youlearnedhow tocreate a Face Mask DetectorusingPython,Keras, OpenCV,andMobileNet. To create our face maskdetector,we trainedatwo-classmodel of peoplewearingmasks and people notwearingmasks. We fine-tunedMobileNetV2onourmask/nomask datasetand obtainedaclassifierthatis ~99% accurate.
  • 3. The projectcan be explainedclearlyinthe below steps. 1. Introduction 2. DataSet 3. ProjectDirectory 4. Data Preprocessing 5. MobileNets 6. Trainingthe Model 7. Run the Model 8. Applythe model incamera 9. Result 10. Summary 11. Resources 12. Module Test SkillPractical Artificial Intelligence Learningpath give astructure to trainingprograms. Thislearning path isdesignedforindividualswhowanttolearnhow to use the mostcommontopicsin Artificial Intelligence.Theywillcoverinastepby stepprocedure frombeginnertoadvanced.