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

조회 수: 10 (최근 30일)
chinnurocks
chinnurocks 2016년 7월 15일
답변: sergio gomez guillen 2021년 6월 13일
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
haider shamil
haider shamil 2019년 1월 16일
편집: Walter Roberson 2019년 1월 16일
hello how to detect eye pair in a colour image can you help me?
Walter Roberson
Walter Roberson 2019년 1월 16일
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.

댓글을 달려면 로그인하십시오.

답변 (2개)

Alvindra Pratama
Alvindra Pratama 2016년 11월 10일
Did you try to with higher mergeThresold value?

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

카테고리

Help CenterFile Exchange에서 Eye Tracking에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by