Computer Vision Project | Driver drowsiness detection | Full code explanation | OpenCV Python Dlib

  Рет қаралды 111,877

Aryan verma (Infoaryan)

Aryan verma (Infoaryan)

Күн бұрын

Пікірлер: 437
@NishanthKanala-t8x
@NishanthKanala-t8x 17 күн бұрын
Somebody pls make this kind of videos viral!
@stutidutta3922
@stutidutta3922 Жыл бұрын
Simple easy explanation of the code. You made me understand in just 13 min. Thank you sir.
@michaelguerrero2632
@michaelguerrero2632 2 жыл бұрын
I don't understand the language but it seems like I can actually understand how you explain it for some reason. Anyway it's a great video thank you my guy!
@Aryanverma2infoaryan
@Aryanverma2infoaryan 2 жыл бұрын
Glad to hear that
@bhavyagoel11
@bhavyagoel11 3 жыл бұрын
I love it, how you turn your passion into teaching😍🥂
@Aryanverma2infoaryan
@Aryanverma2infoaryan 3 жыл бұрын
Thankuuh Bhavya. Its indeed the love of you all.
@ArslanShafique540
@ArslanShafique540 2 жыл бұрын
I watched you first videi and i learn alot.. currebtly am working on image encryption and decryption..i am desprtly waiting for the eye blink unlock project.... Love from 🇵🇰
@mamirkhattak8495
@mamirkhattak8495 Жыл бұрын
excellent bro. this video is very amazing and good communication skill you know this is my final project in the computer science degree . thank you so much🤩😊🥰
@himanshunaxine5620
@himanshunaxine5620 3 жыл бұрын
This video is worth for.. many coders dude...❤❤💥💥🔥🔥
@socceraddict1733
@socceraddict1733 3 ай бұрын
to all who are not able to download the .dat file , i tried downloading it on my mobile and then sent it to my pc , it worked and if it shows any other error like unsupported type , try downgrading numpy to 1.26.4
@pashishsharma2560
@pashishsharma2560 3 жыл бұрын
i love ur first 5 sec of starting -----------> the intro music is awasom
@Utkarsh_is_Bored
@Utkarsh_is_Bored 3 жыл бұрын
This is awesome, Thanks a lot man! can you also explain how the landmarks work how are they detected and the science behind them? I would be very grateful!
@Aryanverma2infoaryan
@Aryanverma2infoaryan 3 жыл бұрын
Would explain same.
@someshghatage5611
@someshghatage5611 2 жыл бұрын
can you share the shape_predictor_68_face_landmarks.dat file. not able to install that one , getting error while installing
@roschungath9894
@roschungath9894 2 жыл бұрын
Sir could you please explain more about hog with linear svm detector
@fouziya9810
@fouziya9810 2 жыл бұрын
Plz upload a video on hand gesture detection with bot calculation
@ujjwalborasi205
@ujjwalborasi205 3 жыл бұрын
Cool, Very Finely Explained.
@jidnyasabhavsar5460
@jidnyasabhavsar5460 2 жыл бұрын
This is outstanding video!! Ur teaching style is so good sir.
@itsmecris07
@itsmecris07 3 жыл бұрын
Bhai ..Great explanation.Really appreciate this
@vishalnasre1251
@vishalnasre1251 3 жыл бұрын
Hi, I am getting error while running the file as File "C:/Users/Dell/Desktop/Data Science/iNeuron Internship/Model - Video Part/Driver-Drowsiness-Detection-master/driver_drowsiness.py", line 99, in cv2.imshow("Result of detector", face_frame) NameError: name 'face_frame' is not defined [ WARN:0] global C:\Users unneradmin\AppData\Local\Temp\pip-req-build-1y7gm6kn\opencv\modules\videoio\src\cap_msmf.cpp (438) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback However face frame is already define
@sanjay1776
@sanjay1776 2 жыл бұрын
Same here did you gon any solution for this
@netajisaiakash9619
@netajisaiakash9619 Жыл бұрын
I'm getting the same error... Could you please explain how did you clear this error
@Bhavmankeer
@Bhavmankeer 4 ай бұрын
I'm not able to download the shape_predictor_68_face_landmarks.dat.bz2
@kukku49
@kukku49 2 жыл бұрын
Sir can we check the accuracy of this model ??
@liderl.m.9850
@liderl.m.9850 3 жыл бұрын
Thanks you so much from Bolivia!!
@dechandolkar8207
@dechandolkar8207 3 жыл бұрын
Excellent teaching 👏👏
@ManpreetKaur-hh3pn
@ManpreetKaur-hh3pn 3 жыл бұрын
very insteresting god bless you bro
@shaan2599
@shaan2599 3 жыл бұрын
Special Thing is that, you explain everything in hindi. Thanks bro.
@nirvlogswithfun
@nirvlogswithfun Жыл бұрын
sir pls help me . i am getting in dlib . i tried to work code in vs code . idle and pycharm also still i am getting dlib error pls help
@wweofficial3200
@wweofficial3200 3 жыл бұрын
Which ide you have used bro ? Can I use pycharm or jupyter notebook ? Please answer
@Haseeb_Raza
@Haseeb_Raza 6 ай бұрын
well explained brother. bai is ke .dat file download nai ho rahi github sa......
@c02pistolman
@c02pistolman 2 жыл бұрын
Hi, I don't understand the language. Is there any way to explain what I need to get this working?
@govindbhadoria8113
@govindbhadoria8113 2 жыл бұрын
Can it be connected to ras pi to make a power supply giving automatic start system
@muhammadsalem9924
@muhammadsalem9924 Жыл бұрын
Can I use ESP32 OR any other solution instead of Raspberry Pi ? Please answer
@sagardubey3800
@sagardubey3800 3 жыл бұрын
superb project and well explained
@HasnainNisar-y2v
@HasnainNisar-y2v Ай бұрын
KZbin videos transcript summarizer project b bnaen na sir
@tharuna3884
@tharuna3884 3 жыл бұрын
brother can you tell what libraries have you installed for this project
@neemakalpure
@neemakalpure 3 жыл бұрын
Best explanation ever.
@Prachi909
@Prachi909 2 жыл бұрын
What is the technical challenges you faced while making this project ?? Please reply @aryan verma what will be the ans for interview
@d-7498h
@d-7498h Жыл бұрын
Looks like a valuable video. But we cannot understand your language. So please do it in English.
@darshanrajashekar634
@darshanrajashekar634 Жыл бұрын
Which algorithm is used?
@muhammadsalem9924
@muhammadsalem9924 Жыл бұрын
Did you find the answer because I need it too ? PLZ answer
@altruisticbyheart2461
@altruisticbyheart2461 3 жыл бұрын
Interesting, Do You wanna join our college as professor?It will be relief for me.
@pixolishsystem89
@pixolishsystem89 Жыл бұрын
where
@manugyadastidar2429
@manugyadastidar2429 2 жыл бұрын
Can you please say what technology are we using here? Augmented reality technology or machine learning technology?
@rushikesh823
@rushikesh823 3 жыл бұрын
Explanation level infinity bro 🔥🔥
@inforanger6672
@inforanger6672 9 ай бұрын
Awesome explanation
@Aditi-pw3ve
@Aditi-pw3ve Жыл бұрын
Sir sleeping/drowsy status show hone pr alarm ring hoga kya? Please reply...
@DrSongs-rg4ry
@DrSongs-rg4ry 4 ай бұрын
Some and easy explanation bro❤
@devanshumishra6430
@devanshumishra6430 2 жыл бұрын
Any Book or site u prefer for computer vision Learning
@muhammadsalem9924
@muhammadsalem9924 Жыл бұрын
Did you find the answer because I need it too ? PLZ answer
@fidhanasnin5829
@fidhanasnin5829 2 жыл бұрын
Sir, Could you tell me accuracy rate that you have obtained through this model?
@kalpeshborse2340
@kalpeshborse2340 8 ай бұрын
Thank you so much sir.... The code is workingg....
@rahulIOT
@rahulIOT 3 жыл бұрын
Thanks for great explanation .
@saadansari1175
@saadansari1175 2 жыл бұрын
predictor = dlib.shape_predictor("shape_predictor_68_face_landmarks.dat") RuntimeError: Unable to open shape_predictor_68_face_landmarks.dat This error comes every time run the code. Please Help.
@premswaroop4337
@premswaroop4337 3 жыл бұрын
Superb explanation, thank u
@soumenmondal710
@soumenmondal710 5 ай бұрын
Thank you very much. This video was really helpful and inspired me to to watch your opencv playlist. I just tried your code in a windows PC with all library installed to check. I face the following error = RESTART: C:\Users\SOUMEN\OneDrive - Indian Institute of Science\Documents\Python Scripts\opencv_copy.py Traceback (most recent call last): File "C:\Users\SOUMEN\OneDrive - Indian Institute of Science\Documents\Python Scripts\opencv_copy.py", line 99, in cv2.imshow("Result of detector", face_frame) NameError: name 'face_frame' is not defined can you help a little bit here ?? Thanks in advance.
@shubhamshinde5643
@shubhamshinde5643 3 жыл бұрын
some of you might get this error:- 1 .dat file is 60+mb so download it and remember to extract 2 install latest all the library which are imported install cpp boost too for dlib 3 this aplication only work in high light use torch (recommended during presentation). 4 face_frame should be global but should not initialize to None i have used following code use it right above while loop _, f = cap.read() face_frame = f.copy() you can ask me if you got futher question
@SS-pe4tu
@SS-pe4tu 3 жыл бұрын
Hello Sir, thank you so much for the lovely explanation of the project . But I am not able to download the " The 68-landmark detector data (.dat) file " from Github. Can u pls share the link here Sir
@shubhamshinde5643
@shubhamshinde5643 3 жыл бұрын
@@SS-pe4tu I am unable to paste GitHub link KZbin constantly deleting it search it on Google you will get it on first search
@SS-pe4tu
@SS-pe4tu 3 жыл бұрын
@@shubhamshinde5643 ok thanku sir for replying. I got that file!! Thank you again!!
@impsenpai
@impsenpai 3 жыл бұрын
@@shubhamshinde5643 NameError: name 'frame' is not defined i'm getting this error can u tell whats the actual problem
@impsenpai
@impsenpai 3 жыл бұрын
or do u have github repo so i can check the codes
@itsandroid
@itsandroid 2 жыл бұрын
OpenCV(4.6.0) /io/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor' (in line 45 ye vala error aa raha hai how to solve it?? please reply)
@AAZADI
@AAZADI 2 жыл бұрын
Hi am also facing same error, have you found any solutions
@itsandroid
@itsandroid 2 жыл бұрын
@@AAZADI nope
@SNOW08og
@SNOW08og Жыл бұрын
Have you solved your error then plzz reply the code
@rifkydjodylaksana7996
@rifkydjodylaksana7996 2 жыл бұрын
Hello, is there possible if this to put in such microcontroller ? Like raspberry and arduino. Thank you so much
@muhammadsalem9924
@muhammadsalem9924 Жыл бұрын
Can I use ESP32 OR any other solution instead of Raspberry Pi ? Please answer
@kukku49
@kukku49 2 жыл бұрын
Can night vision detection can be detected with this code?? If not how can we add that to this code
@muhammadsalem9924
@muhammadsalem9924 Жыл бұрын
Did you find the answer because I need it too ? PLZ answer
@sanskarkhandelwal
@sanskarkhandelwal 6 ай бұрын
Sir dlib install nhi ho rhi vs code m , which ide do you use
@muhammadsalem9924
@muhammadsalem9924 Жыл бұрын
I am a master's student and I have the exact same project. Can you help me ? Can I use ESP32 OR any other solution instead of Raspberry Pi ? Please answer
@lucky_v0852
@lucky_v0852 20 күн бұрын
Sir RuntimeError :- unsupported image type must be 8 bit gray or RGB image 4:23
@umerusman7720
@umerusman7720 3 жыл бұрын
kiya bat hy bro ......bundle of thanks from pakistan
@khabibali4967
@khabibali4967 3 жыл бұрын
ERROR: Command errored out with exit status 1: Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at 'C:\Users\Programmer\AppData\Local\Programs\Python\Python39\python.exe'. ERROR: Command errored out with exit status 1: 'C:\Users\Programmer\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = while installing dlib in pycharm it giving me this type of error how I candle it>?
@karejosh6049
@karejosh6049 8 ай бұрын
while I'm running the code i got an error face_framr is not defined. What i have to do....?
@niyavarghese2452
@niyavarghese2452 2 жыл бұрын
Sir i'm a complete beginner can we run this code in jupyter notebook ??
@sahiltaneja9021
@sahiltaneja9021 Жыл бұрын
Same doubt!?
@sonamsahu4807
@sonamsahu4807 4 ай бұрын
Sir plz Rply meri shape predictor wali ni run ho rahi h why
@sumadhuragaddam2763
@sumadhuragaddam2763 2 жыл бұрын
hey, can we perform it on multiple faces at same time??
@anilwandkar9455
@anilwandkar9455 3 жыл бұрын
Good job bro, very nicely explained
@Movies4KHarsimranSingh
@Movies4KHarsimranSingh Жыл бұрын
Can we use this project for a College level hackathon???
@lakshyaverma5106
@lakshyaverma5106 2 жыл бұрын
Aryan verma code rune m problem hori h plz solve krdo issue
@rajvardhan4615
@rajvardhan4615 5 ай бұрын
bhaiyaa how to execute it in the desktop? can you please guide?
@pritam6287
@pritam6287 3 жыл бұрын
sir, first of all, thanks for the explanation. This video is helpful for me to understand the concept of the drowsiness detection system as well as the eye aspect ratio. But sir I got an error that unable to open shape_predictor_68_face_landmark.dat. what should I do sir?
@Aryanverma2infoaryan
@Aryanverma2infoaryan 3 жыл бұрын
Try to search the error over stackoverflow. Also if the file is not present there, you may download it from the github repo of mine and paste it directly into your working directory.
@pankajdewale1662
@pankajdewale1662 2 жыл бұрын
​@@Aryanverma2infoaryan​I am facing same issue with mine as well. The doesn't exist. Also checked your repository. Still unable to find the file. Please help sir.
@shivamsharma1626
@shivamsharma1626 3 жыл бұрын
Can you please make a full video on Dlip?
@Aryanverma2infoaryan
@Aryanverma2infoaryan 3 жыл бұрын
Soon I will.
@JK05VLOG
@JK05VLOG 2 ай бұрын
Which algorithm is used
@tradingisimple
@tradingisimple 2 жыл бұрын
can i do this project in my college for masters degree
@muhammadsalem9924
@muhammadsalem9924 Жыл бұрын
I am a master's student and I have this exact same project. Can you help me please? What is the appropriate hardware to implement the project? What are the appropriate steps to implement the project? please reply
@LoremIpsum-yt
@LoremIpsum-yt Жыл бұрын
Will this work if there are multiple faces to detect drowsiness from??
@akshat_969
@akshat_969 2 жыл бұрын
Sir can you pls tell us how to add alarm/sound to this model like alarm beeps when we are sleepy
@muhammadsalem9924
@muhammadsalem9924 Жыл бұрын
Did you find the answer because I need it too ? PLZ answer
@akshat_969
@akshat_969 Жыл бұрын
@@muhammadsalem9924 yes i did buddy
@muhammadsalem9924
@muhammadsalem9924 Жыл бұрын
@@akshat_969 Thank you.. Can i use ESP32 instead of raspberry pi ?
@anu_gowda28
@anu_gowda28 Жыл бұрын
In my system cv2 not installed what can do please give me any suggestion
@itsaboutkb
@itsaboutkb Жыл бұрын
Hello I was looking for a similar code in C++, can you please make a video of C++ or can you tell how i can get this code in C++, i tried but got some error
@devipattapagalu7315
@devipattapagalu7315 Жыл бұрын
Hello sir In this project which algorithm we are using sir?
@monikadelu6689
@monikadelu6689 3 жыл бұрын
Sir mereko bhot acha lg raha h ki aapki or meri same college h (nith)....... I'm first year student Sir please Can you tell me about your Branch,....???
@Aryanverma2infoaryan
@Aryanverma2infoaryan 3 жыл бұрын
CSE.
@radheshpandey4659
@radheshpandey4659 3 жыл бұрын
sir,can you please guide me how can I implement dlib in machine learning model in place of haar files,for face mask detection
@Aryanverma2infoaryan
@Aryanverma2infoaryan 2 жыл бұрын
Hi Radhesh, Please connect with me on instagram, I will be able to guide you through it.
@adnanahmad9769
@adnanahmad9769 2 жыл бұрын
@@Aryanverma2infoaryan sir guide me
@TGBBOSS-m3f
@TGBBOSS-m3f Жыл бұрын
can you make the video on installation of dlib library because when i install then this type of error occure ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects
@TheTire3_Engineer
@TheTire3_Engineer 3 жыл бұрын
How to install dlib for python 3.8 PLZZ hlp me
@kollavishnu-qp9kw
@kollavishnu-qp9kw 2 ай бұрын
in which editor did u write the code
@karejosh6049
@karejosh6049 8 ай бұрын
We must add a module cv2 sir...?
@bhavyagoel11
@bhavyagoel11 3 жыл бұрын
Well done Aryan😌🥂
@deepahprakaash9328
@deepahprakaash9328 Ай бұрын
Bro I'm getting this error dlib_facelandmark = dlib.shape_predictor(shape_predictor_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: Unable to open path/to/your/shape_predictor_68_face_landmarks.dat . Can you please help with dis?
@maheshp6832
@maheshp6832 2 жыл бұрын
Sir can we execute in google collab
@namansharma7145
@namansharma7145 3 жыл бұрын
Kaint video veere 👍 Rab tenu chaddi kla ch rkhe 😍
@sarthak6088
@sarthak6088 10 ай бұрын
Landmark detection stops when i close my eyes. Please help. What can i do?
@niqueraj3487
@niqueraj3487 3 жыл бұрын
Is this works on Rasbeery pi??
@Aryanverma2infoaryan
@Aryanverma2infoaryan 3 жыл бұрын
yes this will work. You need to configure few code lines accordingly.
@muhammadsalem9924
@muhammadsalem9924 Жыл бұрын
Can I use ESP32 OR any other solution instead of Raspberry Pi ? Please answer
@prateekthakur1848
@prateekthakur1848 3 жыл бұрын
Great Video!
@nishantkumarsharma2795
@nishantkumarsharma2795 2 жыл бұрын
Sir what should i change if i want to use my laptops camera as my face detection unit...??
@Aryanverma2infoaryan
@Aryanverma2infoaryan 2 жыл бұрын
By Default, Laptop face camera is being used. If you want to change it to external webcam, test putting 1 ,2, 3 etc.
@nishantkumarsharma2795
@nishantkumarsharma2795 2 жыл бұрын
@@Aryanverma2infoaryan thanks alot sir ❤️
@deepthiacharya9991
@deepthiacharya9991 8 ай бұрын
Can we add front end to it?
@lordsukuna8122
@lordsukuna8122 2 жыл бұрын
Thank you so much sir for explaining this project in a easy way .... Because of this i'll be able to do my college project and shock everyone
@ajaysaini8842
@ajaysaini8842 Жыл бұрын
Bhai code run ho gya tha kya..? Kya kya cheeje install krni pdi thi..?
@balavenkatperavali3883
@balavenkatperavali3883 Жыл бұрын
Dude..is that working,reply me fast
@brajesh5635
@brajesh5635 Жыл бұрын
@@balavenkatperavali3883 do you try it is it working
@brajesh5635
@brajesh5635 Жыл бұрын
t is it working
@balavenkatperavali3883
@balavenkatperavali3883 Жыл бұрын
@@brajesh5635 no
@zaherabegum1808
@zaherabegum1808 6 ай бұрын
Which software u r using to run this program
@jonsnow4709
@jonsnow4709 2 жыл бұрын
Which algorithm is used for face detection
@VISHNUKUMAR-em1sl
@VISHNUKUMAR-em1sl 3 жыл бұрын
Bro can u plz tell me how to add alert sound in this project? It will helps me a lot bro.
@Aryanverma2infoaryan
@Aryanverma2infoaryan 3 жыл бұрын
>>>import vlc >>> p = vlc.MediaPlayer("alert.mp3") >>> p.play() or you can use any other library to play the play the alert sound
@adnanahmad9769
@adnanahmad9769 2 жыл бұрын
Hello
@adnanahmad9769
@adnanahmad9769 2 жыл бұрын
Good question
@adnanahmad9769
@adnanahmad9769 2 жыл бұрын
Bro can you help me I need your help
@kumardivyanshu7327
@kumardivyanshu7327 2 жыл бұрын
@@Aryanverma2infoaryan in which line of code I should add this alert
@kushagragolash
@kushagragolash 3 жыл бұрын
Hi bro please help me File "driver_drowsiness.py", line 15, in detector = dlib.get_frontal_face_detector() AttributeError: module 'dlib' has no attribute 'get_frontal_face_detector' I am getting this error
@Aryanverma2infoaryan
@Aryanverma2infoaryan 3 жыл бұрын
Try to re-intstall the dlib. It may work.
@BabyVickyvibes
@BabyVickyvibes 3 жыл бұрын
Run the code in Google collab
@monikasharma562
@monikasharma562 2 жыл бұрын
@@BabyVickyvibes but from where to use .dat file in Google colab
@sagardridcreations3814
@sagardridcreations3814 Жыл бұрын
can u please give a video or readme file to guide the installation of libraries coz im not able to install dlib in my pc
@deepthiacharya9991
@deepthiacharya9991 8 ай бұрын
Can we add a sound when we are sleeping?
@silentpaiyan3044
@silentpaiyan3044 Жыл бұрын
I can't import dlib in pycharm..How to solve this problem.and then you using software download link and version mention it please help to me sir
@VaibhaviNaik-cf8fo
@VaibhaviNaik-cf8fo 6 ай бұрын
The dataset is not getting downloaded..can u help please
@niyavarghese2452
@niyavarghese2452 2 жыл бұрын
Sir could you please suggest how to detect yawn along with eye drowsiness in this code
@Aryanverma2infoaryan
@Aryanverma2infoaryan 2 жыл бұрын
Go for exploring the ratio of lips contour points.
@niyavarghese2452
@niyavarghese2452 2 жыл бұрын
@@Aryanverma2infoaryan Thankyou sir
@uppunuthulasrisaikrishna4444
@uppunuthulasrisaikrishna4444 2 жыл бұрын
How can I do the same project by using mobile application
@Aryanverma2infoaryan
@Aryanverma2infoaryan 2 жыл бұрын
Port Dlib to android studio.
Real time Driver Drowsiness Detection System | OpenCV | Python
38:14
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 29 МЛН
Хасанның өзі эфирге шықты! “Қылмыстық топқа қатысым жоқ” дейді. Талғарда не болды? Халық сене ме?
09:25
Демократиялы Қазақстан / Демократический Казахстан
Рет қаралды 351 М.
Friends make memories together part 2  | Trà Đặng #short #bestfriend #bff #tiktok
00:18
Realtime Drowsiness and Yawn Detection using Python in Raspberry Pi or any other PC
27:15
SPARKLERS : We Are The Makers
Рет қаралды 61 М.
Real-time Drowsiness Detection Tutorial | Transfer Learning | TensorFlow | Python | OpenCV
1:06:29
ML Was Hard Until I Learned These 5 Secrets!
13:11
Boris Meinardus
Рет қаралды 329 М.
Drowsiness Detection using OpenCV & Machine Learning
15:20
StudyGyaan
Рет қаралды 26 М.
How to do Object Detection using ESP32-CAM and Edge Impulse YOLO Model
16:50
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 29 МЛН