Merge pull request #509 from aramando/master

Missing var declaration in example
This commit is contained in:
Peter Braden 2017-09-13 11:43:06 +02:00 committed by GitHub
commit cb67608f59

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);
}