Image Analysis Help for Eye blink detection
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Vikas
le 18 Mar 2014
Commenté : Shahrokh Firouzi
le 28 Sep 2021
I am working on a eye blink detection project. By this moment I have been successfully extracted the images of pupil of eye from the real time video.
But I am stuck at the process to differentiate the open eye pupil to the closed eye lid state.
1. Open eye pupil
2. closed eye lid
Could you please suggest me any image processing function or algorithm to differentiate between the two states.
(Attached images are the original images on which image processing is to be done.)
2 commentaires
ramkumar r
le 27 Juin 2019
Hello VIkas,
Can you share the code of eye detection and pupil ext6raction plz.
Réponse acceptée
Dishant Arora
le 18 Mar 2014
You can have a plot of average horizontal intensities.In case eye is closed the distance between two deep valleys would increase as eyelashes would move far from the brows:
I1 = imread('openEyeImage');
I1 = rgb2gray(I1)
plot(1:size(I1,1) , mean(I1,2));
hold on
I2 = imread('closeEyeImage');
I2 = rgb2gray(I2)
plot(1:size(I2,1) , mean(I2,2) , 'r');
Check out the difference between two plots.
Or you can go from blob detection, find circular objects. Call regionprops check out for ecentricity. This would be useful: Blobs Detection
7 commentaires
Izzati
le 22 Jan 2016
Greetings, Mr. Dishant. May I know what is the name of this method? I would like to read a few papers regarding this method since I'm doing a research on eye blink detection. Thank you.
Image Analyst
le 22 Jan 2016
I think it's usually called "drowsiness detection". See my Answer for a link to published papers on it.
Plus de réponses (2)
Image Analyst
le 19 Mar 2014
Perhaps you'd be interested in how others do it: http://iris.usc.edu/Vision-Notes/bibliography/motion-f725.html#Driver%20Monitoring,%20Eyes,%20Gaze
4 commentaires
Image Analyst
le 19 Mar 2014
If you're at a University, the papers will be available for free most likely. If you work for a company they will spend less money to order papers than paying you to flounder for months trying different, unproven approaches.
I did give two approaches (radial profile or mean). Try to program those up.
Waheed Ullah
le 17 Avr 2015
After reading an image (jpeg, png, etc.), then I want to detect eyes and find the distance between human eyes. So if anyone have such a code then please inbox me (<mailto:waheedullah356@gmail.com waheedullah356@gmail.com>) or give here. Thanks.
1 commentaire
Shahrokh Firouzi
le 28 Sep 2021
There is a thing which call creativity. I think instead of asking codes from others, use the sample codes above and find your way. For sure there are difficulties to find out the others' coding but in that moment you figure out the way of writing codes, you can do whatever that you want.
Voir également
Catégories
En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!