face detection thru viola zones

Attempted to access Face(2); index out of bounds because numel(Face)=1.
Error in TestFaceDetection (line 9) Rectangle = [Face(1) Face(2); Face(1)+Face(3) Face(2); Face(1)+Face(3) Face(2)+Face(4); Face(1) Face(2)+Face(4); Face(1) Face(2)];

1 Comment

I have deleted the duplicate post. Please, abukaf, do not post a question twice.

Sign in to comment.

Answers (1)

Jan
Jan on 22 Jul 2013
The error message is clear: You try to access Face(2) (and even Face(4) later on), but this variable contains a single element only. So you have to look for the reason, why Face is a scalar. But the shown message does not contain any information to help you at this examination.

Categories

Tags

Asked:

on 22 Jul 2013

Community Treasure Hunt

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

Start Hunting!