how to detect drowsiness ??

回答(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 个评论

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

请先登录,再进行评论。

Jos (10584)
Jos (10584) 2014-4-7

0 个投票

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

4 个评论

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.

请先登录,再进行评论。

Jos (10584)
Jos (10584) 2014-4-8

0 个投票

How much effort do you want to put in yourself?

3 个评论

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?

请先登录,再进行评论。

Ahmad Alhashil
Ahmad Alhashil 2021-2-20

0 个投票

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 个评论

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.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by