how to detect drowsiness ??

i want to detect drowsiness of a driver. plese help me.

Answers (4)

Select an algorithm from Vision Bib here
16.7.2.4.1 Driver Monitoring, Eyes, Gaze
then code it up. Come back with code if you have any problems.

5 Comments

can i get a matlab code for this ??
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.
thanks you, can u suggest me any algorithm for that ?
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.
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

Sign in to comment.

Jos (10584)
Jos (10584) on 7 Apr 2014

0 votes

Let him press a button every N seconds. If the timings become to variable …

4 Comments

can i get a matlab code for this ??
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.
Could this maybe be an effective solution?
thank you but im looking for a software application where i can get code or algorithm to detect drowsiness.

Sign in to comment.

Jos (10584)
Jos (10584) on 8 Apr 2014

0 votes

How much effort do you want to put in yourself?

3 Comments

i already finished 80% of my work...till eyes detection i have completed ..and now i need to check weather the eyes r closed or open !!
OK, why not just check the color in the eye region?

Sign in to comment.

Ahmad Alhashil
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

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.
could you help me with the steps ? should i start with training database or extract featurs from eyes
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.
okay could you please help me how to start training database in CNN.
Two comments ago is the best I can do.

Sign in to comment.

Asked:

on 7 Apr 2014

Commented:

on 6 May 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!