mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
Missing var declaration
This commit is contained in:
parent
31ba216539
commit
8374d40ba0
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user