Error in eye detection code !

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)

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

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 ?
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 Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 15 Sep 2016

Commented:

on 16 Sep 2016

Community Treasure Hunt

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

Start Hunting!