face detection thru viola zones
Afficher commentaires plus anciens
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
le 22 Juil 2013
I have deleted the duplicate post. Please, abukaf, do not post a question twice.
Réponses (1)
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
En savoir plus sur Shifting and Sorting Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!