Skip to content

Commit 98866c2

Browse files
authored
Merge pull request #346 from thandal/patch-1
Fix getEyeFeats
2 parents 7bee4d2 + 8ffa589 commit 98866c2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/util.mjs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,10 @@ util.getEyeFeats = function(eyes) {
3737
this.equalizeHistogram(gray, 5, hist);
3838
return hist;
3939
};
40-
41-
if (webgazer.params.trackEye == 'left') {
40+
if (params.trackEye == 'left') {
4241
return process(eyes.left);
4342
}
44-
else if (webgazer.params.trackEye == 'right') {
43+
else if (params.trackEye == 'right') {
4544
return process(eyes.right);
4645
}
4746
else {

0 commit comments

Comments
 (0)