Eye detection from an Image using vision.Cac​adeObjectd​etector... Not working...

11 vues (au cours des 30 derniers jours)
chinnurocks
chinnurocks le 15 Juil 2016
I= imread('night.jpeg');
I= imresize(I,0.5);
Detectface = vision.CascadeObjectDetector('eyepairbig');
%Detectface.MergeThreshold = 7;
BB= step(Detectface,I);
out = insertObjectAnnotation(I,'rectangle',BB,'detection');
figure
imshow(out);
<<
>>
Hello, I am able to detect eye pair in a colour images. Recently I have got a night vision camera and I am unable to detect eye pairs using vision.cascadeobjectdetector function in that night vision image. May be because of change in black colour of the eye in night vision. Need your help in detecting eye pair in those images. I have also attached image and code.
And I am able to detect face, mouth etc but not the eyes.
  2 commentaires
haider shamil
haider shamil le 16 Jan 2019
Modifié(e) : Walter Roberson le 16 Jan 2019
hello how to detect eye pair in a colour image can you help me?
Walter Roberson
Walter Roberson le 16 Jan 2019
haider shamil: you would use vision.CascadeObjectDetector .
The particular Question here had to do with the eyes having colors not expected by Cascade Object Detector because of the infrared nature of the photographs.

Connectez-vous pour commenter.

Réponses (2)

Alvindra Pratama
Alvindra Pratama le 10 Nov 2016
Did you try to with higher mergeThresold value?
  1 commentaire
chinnurocks
chinnurocks le 11 Nov 2016
Yeah... I am able to get it done by changing the threshold value.

Connectez-vous pour commenter.


sergio gomez guillen
sergio gomez guillen le 13 Juin 2021
Hi, did you fix it? I'm having the same issue with infrared videos and i dont now how to fix it

Catégories

En savoir plus sur Eye Tracking dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by