Missing var declaration

This commit is contained in:
aramando 2017-05-31 11:24:23 +01:00 committed by GitHub
parent 31ba216539
commit 8374d40ba0

View File

@ -11,7 +11,7 @@ cv.readImage('./files/mona.png', function(err, im) {
if (err) throw err;
for (var i = 0; i < faces.length; i++) {
face = faces[i];
var face = faces[i];
im.rectangle([face.x, face.y], [face.width, face.height], COLOR, 2);
}