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

3 ビュー (過去 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?
  1 件のコメント
chinnurocks
chinnurocks 2016 年 11 月 11 日
Yeah... I am able to get it done by changing the threshold 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

Community Treasure Hunt

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

Start Hunting!

Translated by