Error in eye detection code !

1 view (last 30 days)
Mohammed Hafez
Mohammed Hafez on 15 Sep 2016
Commented: Image Analyst on 16 Sep 2016
What is the problem here? And what should I do? I'm new in using viola jones and KLT algorithms .. Please help me as fast as possible! Thanks!

Answers (1)

Image Analyst
Image Analyst on 16 Sep 2016
What is videoFrame? Is it a single image? If so, you can't call step() on it. What does this show
whos videoFrame
  2 Comments
Mohammed Hafez
Mohammed Hafez on 16 Sep 2016
I replaced step by size, then it returned a 0 * 4 size for bbox and said x = bbox(1,1) is out of size ?! What should I do ?
Image Analyst
Image Analyst on 16 Sep 2016
If step is now size(), then why do you think that
bbox = size(eyeDetector, frameSize);
even makes sense? I think you need to take more time to understand this code.

Sign in to comment.

Categories

Find more on Computer Vision Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!