Build FACE MASK DETECTION ALERT SYSTEM OpenCV Keras - Part 1 | Face Mask Detection system CNN Model
HTML-код
- Опубликовано: 10 фев 2025
- This video titled "Build FACE MASK DETECTION ALERT SYSTEM OpenCV Keras - Part 1 | face mask detection system CNN Model" is a part - 1 of Face Mask Detection System where we will see how to Build a Face Mask Detection System that can detect a person in real-time if he/she is wearing a mask or not using CCTV camera with quite a good accuracy. After that, he/she is denied access to places where authorities have strictly asked to wear the face mask. After denying access to the person, authorities will get an alert email in real-time where the person’s photo will be attached. May be screen panels could be installed at the entrances where a person when denied can see a pop-up Warning Message where he/she would be advised to wear a
mask before getting access. This kind of Face Mask Detection Alert System has applications at Airports, Hotels, Public Buildings like Driving Licence Offices, and other major places where we expect large public gatherings. We will be using Python, OpenCV, Keras with Tensorflow as a backend for building the Deep Learning Convolution Neural Network model in this project series. This project is very useful to check Covid-19 spread.
Jupyter Notebook Link - theaiuniversit...
The AI University Website: www.theaiuniversity.com
Get the "The AI University" Android App on Google Playstore
------------------------------------------------------------------------------------------------------------
Join this channel to get access to perks:
/ @theaiuniversity
------------------------------------------------------------------------------------------------------------
*****Links of Kindle & Machine Learning, Deep Learning & AI Books*****
1. Kindle 6" Display, 4GB, Wifi - amzn.to/2QJPqi7
2. Introduction to Machine Learning with Python - amzn.to/37UOmxM
3. Machine Learning: The Absolute Beginner’s Guide to Learn and Understand Machine Learning From Beginners, Intermediate, Advanced, To Expert Concepts - amzn.to/39YUVkI
4. Python Machine Learning: Machine Learning and Deep Learning with Python, scikit-learn, and TensorFlow 2 - amzn.to/35Nj5LI
5. Hands-On Machine Learning with Scikit-Learn and TensorFlow - amzn.to/2NhqAE6
6. Pattern Recognition and Machine Learning - amzn.to/2FFqSkj
7. Deep Learning with Python - amzn.to/36KCJsV
8. Deep Learning(Adaptive Computation and Machine Learning series) - amzn.to/30b90qR
FOLLOW ME ON:
Twitter: / theaiuniverse
Facebook : / theaiuniversity
Instagram: / theaiuniversity
Telegram: t.me/theaiuniv...
Tool for Keyword Research, Channel Health, Thumbnail Generation for your channel : www.Tubebuddy....
▶ GITHUB REPO : github.com/nit...
About this Channel:
The AI University is a channel which is on a mission to democratize the Artificial Intelligence, Big Data Hadoop and Cloud Computing education to the entire world. The aim of this channel is to impart the knowledge to the data science, data analysis, data engineering and cloud architecture aspirants as well as providing advanced knowledge to the ones who already possess some of this knowledge.
Please share, comment, like and subscribe if you liked this video. If you have any specific questions then you can comment on the comment section and I'll definitely try to get back to you.
******Other AI, ML, Deep Learning, Augmented Reality related Video Series****
Deploy Machine Learning Models as Web App using Flask & Docker on Azure Cloud - bit.ly/2Lgnd0g
Machine Learning Data Pre-processing & Data Wrangling using Python - bit.ly/2K6psly
Machine Learning & Deep Learning Project - bit.ly/2L0DUwz
Machine Learning Projects in HINDI - bit.ly/2OSX7l5
Deep Learning Neural Network Tutorials - bit.ly/2K6e6hB
Machine Learning & Deep Learning Bootcamp Series - bit.ly/2K4648Q
Machine Learning using Spark MLLib - bit.ly/2QuKQGK
Augmented Reality Free Tutorial - bit.ly/32ioysS
Data Engineering Full Hands-on Course - bit.ly/2CsxSPz
Hadoop, Machine & Deep Learning on Azure Cloud Tutorial Series - bit.ly/2K74l2I
Natural Language Processing - bit.ly/2YtXQuF
Develop Dashboard for Business Intelligence & Data Science(Plotly Dash Tutorial Series) - bit.ly/2Yu1Uen
Data Science Tip and Tricks and Career Advice - bit.ly/2YvO6QE
Machine Learning, Deep Learning Maths(Matrix & Vector Operations) - bit.ly/2YxhOEZ
******************************************************************
DISCLAIMER: This video and description may contain affiliate links, which means that if you click on one of the product links, I’ll receive a small commission.
#FaceMaskDetectionSystem #FaceMaskOpenCV #FaceMaskDeepLearning
Jupyter Notebook Link - theaiuniversity.com/courses/face-mask-detection-alert-system/
State True or False: OneHotEncoder() and LabelBinarizer() offers the same functionality of converting categorical variable into One Hot Encoded form
False, input [1,2,3,6],
LB- it consider 6 as 4th class.
OH- it consider 6 as values.
I can't find the notebook at this link? Has it been changed? I just see the course
It is redirecting me to somewhere else
For everyone looking for the code. Just enroll the course . On the last video you will get the code.
sir i couldnt found code plz help me
Where have been all my life have been looking for a project such as this in deep learning with an alert system.
Thank you so much God bless you real good
Here's a course
Face Mask Detection Using Deep Learning
. It's paid but it's worth it.
khadymschool.thinkific.com/courses/data-science-hands-on-covid-19-face-mask-detection-cnn-open-cv
Here's a course you'll need.
Face Mask Detection Using Deep Learning . It's paid but it's worth it.
khadymschool.thinkific.com/courses/data-science-hands-on-covid-19-face-mask-detection-cnn-open-cv
I Just Find your channel and this was so cool, So Thanks and Good Luck To You!
Thanks
Here's a course you'll need.
Face Mask Detection Using Deep Learning . It's paid but it's worth it.
khadymschool.thinkific.com/courses/data-science-hands-on-covid-19-face-mask-detection-cnn-open-cv
This is ridiculously good. You're a genius
Here's a course
Face Mask Detection Using Deep Learning
. It's paid but it's worth it.
khadymschool.thinkific.com/courses/data-science-hands-on-covid-19-face-mask-detection-cnn-open-cv
Which augmentation technique has been used for the dataset?
Or which technique is best for such project
Anyone please reply
which type of cnn or architecture you have used in this project to create a module?
Sir,what is the final condition like if we want to add the category like 'Mask is Not properly Wear' so what is the procedure?????
Here's a course
Face Mask Detection Using Deep Learning
. It's paid but it's worth it.
khadymschool.thinkific.com/courses/data-science-hands-on-covid-19-face-mask-detection-cnn-open-cv
Another system could sound an alarm when two people don't keep 1,5m distance, including an AI-based recongization of couples so they are not torn apart, but two friends hugging each other are. That would be a dream for our German Corona virus policy😍
Stop giving them ideas!
P.S. We will get to this point: ruclips.net/video/PVPyHrPZbVM/видео.html
Sir what are pre-requisites for course
THE AI UNIVERSTIY SITE IS DOWN PLEASE HELP US WITH THE SOURCE CODE AND DATA SETS
Hlo Sir. Is it necessary/compulsory to make two separate folders for with mask and without mask or we can use a single folder with all images in it....?plz reply sir
It's better to create otherwise you may need to write extra lines of python code to label them for training purpose
Sir
Can u plzz help me that
What and where to write extra python code
I have my all data set in one folder
Is there any source code that satisfies both social distance and face mask detection using live cam??
hey sir!
well explained. how can i get the code?
How to display some samples of imagess with/without masks on Google collab?
How to apply those modifications ??
Here's a course
Face Mask Detection Using Deep Learning
. It's paid but it's worth it.
khadymschool.thinkific.com/courses/data-science-hands-on-covid-19-face-mask-detection-cnn-open-cv
when i tried to run the second code segment in the data-Processing part a keyboardinterrupt kept showing and it is on ( img=cv2.imread(img_path)) please help
@ADITYA SAWANT cv2.imread is used to read the images in the file location you have to change the file location
This link is not working please provide a new link.
where can i find the dataset??
why site is down @theaiunversity
Hey, im getting ValueError: Unknown label type: (array([[[[[[1., 0.] while trying to execute labels=lb.fit_transform(labels).Please help me with this error asap.Thank You.
Even I am getting same error pls any one help to resolve it
Don't we have to label the images .sir ?? If not why ??
Here's a course
Face Mask Detection Using Deep Learning
. It's paid but it's worth it.
khadymschool.thinkific.com/courses/data-science-hands-on-covid-19-face-mask-detection-cnn-open-cv
Sir can I build Face mask detection website using python html css javascript
Here's a course
Face Mask Detection Using CSS and Open CV
. It's paid but it's worth it.
khadymschool.thinkific.com/courses/data-science-hands-on-covid-19-face-mask-detection-cnn-open-cv
There is no source code in your website
I just enrolled it
Can you provide link for codes please
Akshay, if you have enrolled for the course then you can find the code files and dataset at the end of the part 3 video..just scroll down and you will see it
@@TheAIUniversity sir I need help in connecting code into webcam and cctv I used videostream(src=0).start() for normal laptop camera what I should use for cctv and webcam through videostream please help me to connect I can share my codes
Here's a course
Face Mask Detection Using Deep Learning
. It's paid but it's worth it.
khadymschool.thinkific.com/courses/data-science-hands-on-covid-19-face-mask-detection-cnn-open-cv
What is the python tools u have used for this system? can u reply me?
Here's a course you'll need.
Face Mask Detection Using Deep Learning . It's paid but it's worth it.
khadymschool.thinkific.com/courses/data-science-hands-on-covid-19-face-mask-detection-cnn-open-cv
I want add some new feature like hand gloves and also face shield .. what to do ??
I think so it will b difficult for the model to detect any further items without any extra training by labelling those items in the image. There should be many more types of labelled images by including all the aspects you want to detect orelse atleast a few more. Even by doing transfer learning it won't be possible for it to find those objects on body.
Where is the code for this project, I even registered in that course still I am not able to find the code !!!
yes
Here's a course
Face Mask Detection Using Deep Learning
. It's paid but it's worth it.
khadymschool.thinkific.com/courses/data-science-hands-on-covid-19-face-mask-detection-cnn-open-cv
Can I use this for my final year project? Please reply
Sure, you can but don't forget to share the word about "The AI University" with your friends and subscribe as well
Where can I find datasets
Here's a course
Face Mask Detection Using Deep Learning
. It's paid but it's worth it.
khadymschool.thinkific.com/courses/data-science-hands-on-covid-19-face-mask-detection-cnn-open-cv
Here's a course you'll need.
Face Mask Detection Using Deep Learning . It's paid but it's worth it.
khadymschool.thinkific.com/courses/data-science-hands-on-covid-19-face-mask-detection-cnn-open-cv
sir can i get the code link because previous code link doesnt work
Sir please do a video to detect different type of Mask in real-time.
Here's a course
Face Mask Detection Using Deep Learning
. It's paid but it's worth it.
khadymschool.thinkific.com/courses/data-science-hands-on-covid-19-face-mask-detection-cnn-open-cv
Here's a course you'll need.
Face Mask Detection Using Deep Learning . It's paid but it's worth it.
khadymschool.thinkific.com/courses/data-science-hands-on-covid-19-face-mask-detection-cnn-open-cv
there is a error coming in "label=lb.fit_transform(labels)" can anyone solve or fix it
why are we writing this?
np.reshape(images, (images.shape[0], img_rows, img_cols, 1))
please help.
i got the error With n_samples=1, test_size=0.25 and train_size=None, the resulting train set will be empty. Adjust any of the aforementioned parameters.
I am also getting same error did you resolved it
I can't find the notebook at this link?
You need to enroll to the course and then you will be able to see link
@@TheAIUniversity I enrolled the course , still can't find link 😭😭
Can we load video rather than using camera?
Here's a course
Face Mask Detection Using Deep Learning
. It's paid but it's worth it.
khadymschool.thinkific.com/courses/data-science-hands-on-covid-19-face-mask-detection-cnn-open-cv
when we can see part 2 of this tutotial
I will be releasing it today. And third part will be released day after
Here is the part 2 link of the series - ruclips.net/video/a3HBsN5RvQs/видео.html
@@TheAIUniversity i saw 😊 that, thanks
Here's a course
Face Mask Detection Using Deep Learning
. It's paid but it's worth it.
khadymschool.thinkific.com/courses/data-science-hands-on-covid-19-face-mask-detection-cnn-open-cv
Can you provide code and other files of this project
you can find the entire code by enrolling to the same course for free on www.theaiuniversity.com
Site is down
Where can we get the code for this project
Link is in the comment section Kruthika
@@TheAIUniversity where in comment section your jupyter link not work its useless link if u have proper and correct link so plz correct your jupyter link in description or update the link
Where I can find the dataset? Please help sir
Here you go...theaiuniversity.com/courses/face-mask-detection-alert-system/
@saileela rachamalla where bro , I can't find datasets
@saileela rachamalla help me bro
@@karanmanwade5056 github.com/chandrikadeb7/Face-Mask-Detection, You will get a dataset of 1915 with mask and without mask images
@@TheAIUniversity this site is currenty unavailable so when this link is available?
how to solve this error?
it shows error at train_test_split function
ValueError: With n_samples=1, test_size=0.25 and train_size=None, the resulting train set will be empty. Adjust any of the aforementioned parameters.
Do not specify n_samples , let it split on the whole dataset
I got the same array
@@TheKhan05 how to do that
@@TheKhan05have u found any solution
@@programmingwithguri1454 yes I have got the same.. Someone who had rectified pls do say that
there’s no code mentioned in the link plz help
can it identify multiple persons with mask in the frame?
Yolo needs to be used for that
No such file or directory: 'Dataset' if you make video like foolish there is no need for your fake work sir
I am getting error at( labels=lb.fit_transform(labels)) can any one tell why it is
sir i need source code and all the dataset
Where can i get the github code?
Check out the link given in the comments section to download the code
Exception: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
getting this error while converting RGB to gray scale image ..please suggest.
Your image is probably not being read successfully.
@@TheAIUniversity That's what i need your help,where i am making the mistake
Keep the image to be converted in some other path, probably at the root directory such as D: or E: and try reading that from that location
@@TheAIUniversity how it can be done in source code
@@TheAIUniversity I have tried it keeping root directory in D folder..but still same issue.Please help
or How can i connect with you?
Can I get the IEEE paper for tis project
Here's a course
Face Mask Detection Using Deep Learning
. It's paid but it's worth it.
khadymschool.thinkific.com/courses/data-science-hands-on-covid-19-face-mask-detection-cnn-open-cv
sir plase i am gatting error tha Exeption : has no grayscale
Hlo Sir
I m having an error of
With n_samples=1,test_size=0.25 and train_size=0.8 the resulting train set will b empty
I am also getting same error did you resolved it
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
getting this type of error while converting into grey
Keep the image to be converted in some other path, probably at the root directory such as D: or E: and try reading that from that location
same with me, have you found any solution for this?
Try,cv2.IMREAD_GRAYSCALE instead of cvtColor I think it helps
Hlo Sir I am getting this error while performing model.predict
ValueError: Input 0 of layer sequential is incompatible with the layer: expected axis -1 of input shape to have value 1 but received input with shape [None, 50, 50, 3]
Plz help me
Sir please share source code 🙏🙏
Pls find the link to Jupyter notebook in the description section
@@TheAIUniversity Fooling your followers will backfire on you.
Plz anyone help
How to solve it
Why are you fooling your followers. The links to the Jupyter notebook and the github link are all false. If you didn't want us to have access to the source code or datasets you could've left that out. But don't fool people who are trying to learn from you.
Ambroze, you can find all the code related files by enrolling to the same course for Free on www.theaiuniversity.com.
Also just to mention. No body is fooling anyone here.
@@TheAIUniversity The website is not working at all kindly check
Really true there isn't anything related to this in the github repo and and the site is down too
True
@@omoregieblessed I finally made it working bro i will upload it in my github and i will share the repository link
code link?
theaiuniversity.com/courses/face-mask-detection-alert-system/
@@TheAIUniversity sir , I can't find source code over there , where is it?
@@karanmanwade5056 He's just fooling people and leading them to his website which doesn't have the dataset or course code.
Where can i find the dataset?