how to detect drowsiness ??
Show older comments
i want to detect drowsiness of a driver. plese help me.
Answers (4)
Image Analyst
on 7 Apr 2014
16.7.2.4.1 Driver Monitoring, Eyes, Gaze
then code it up. Come back with code if you have any problems.
5 Comments
Sampath
on 7 Apr 2014
Image Analyst
on 7 Apr 2014
I don't know. Maybe, but doubtful. I know I don't have any for you. But you can contact the authors I referred you to. I doubt they will just hand over their MATLAB code to you for free, but who knows? Otherwise, start writing code yourself.
Sampath
on 8 Apr 2014
Image Analyst
on 8 Apr 2014
I have not looked over all the papers and evaluated them all so that I can suggest one to you. Don't you think that should be your job? They are published so I assume they work, so just pick one at random if you want.
messaoudi nada
on 6 May 2021
hi sir , please i need help , im working about driver drowsiness detection , i have 880*1552 training data and 160*1552 test data ,i used svm model for classification and now i wanna calculate RMSE but matlab show me an error that the matrix demonsion must agree , i dont know how can i solve this problem
Jos (10584)
on 7 Apr 2014
0 votes
Let him press a button every N seconds. If the timings become to variable …
4 Comments
Sampath
on 7 Apr 2014
Joseph Cheng
on 7 Apr 2014
A hat with a string connected to a switch works too. I usually have at least 3~4 head bobs before I fall asleep during a (non-driving) boring activity.
Image Analyst
on 7 Apr 2014
Could this maybe be an effective solution?

Sampath
on 8 Apr 2014
Jos (10584)
on 8 Apr 2014
0 votes
How much effort do you want to put in yourself?
3 Comments
Sampath
on 9 Apr 2014
Image Analyst
on 9 Apr 2014
OK, why not just check the color in the eye region?
Vikas
on 10 Apr 2014
check my question it would certainly help you http://www.mathworks.com/matlabcentral/answers/122102-image-analysis-help-for-eye-blink-detection
Ahmad Alhashil
on 20 Feb 2021
0 votes
Hi guys! I’m working on drowsy detection using conventional neural network CNN. Can you help me how to detect eye and classify it to open or close. Please help me!!
5 Comments
Image Analyst
on 20 Feb 2021
That's a pretty vague question. Have you taken the Deep Learning course from Mathworks? That would be the logical place to start. There are also some shorter, deep learning training courses that are free. In addition there are a bunch of examples online, and shipped with your Deep Learning Toolbox.
Ahmad Alhashil
on 20 Feb 2021
could you help me with the steps ? should i start with training database or extract featurs from eyes
Image Analyst
on 20 Feb 2021
To train for deep learning you first collect your images and divide them into training and validation sets. Then label the images as drowsy or not drowsy. Then train with those two data sets. Now, once it's trained, you can pass other, arbitrary "test" images through your trained network and get a classification as to whether the test image(s) are drowsy or not drowsy.
Ahmad Alhashil
on 21 Feb 2021
okay could you please help me how to start training database in CNN.
Image Analyst
on 21 Feb 2021
Two comments ago is the best I can do.
Categories
Find more on Object Detection in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!