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 commentaire

Jan
Jan le 22 Juil 2013
I have deleted the duplicate post. Please, abukaf, do not post a question twice.

Connectez-vous pour commenter.

Réponses (1)

Jan
Jan le 22 Juil 2013

0 votes

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.

Catégories

Tags

Question posée :

le 22 Juil 2013

Community Treasure Hunt

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

Start Hunting!

Translated by