Skip to content

Commit

Permalink
Merge pull request #452 from papr/master
Browse files Browse the repository at this point in the history
Bugfix #451
  • Loading branch information
papr authored Aug 25, 2016
2 parents f4462c2 + 34a00c0 commit 0d810e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def update(self,frame,events):
if self.active :
#always save gaze positions as opposed to pupil positons during calibration
for pt in events.get('gaze_positions',[]):
if pt['confidence'] > self.g_pool.pupil_confidence_threshold:
if pt['confidence'] > self.pupil_confidence_threshold:
#we add an id for the calibration preprocess data to work as is usually expects pupil data.
pt['id'] = 0
self.gaze_list.append(pt)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def update(self,frame,events):

#always save pupil positions
for pt in events.get('gaze_positions',[]):
if pt['confidence'] > self.g_pool.pupil_confidence_threshold:
if pt['confidence'] > self.pupil_confidence_threshold:
#we add an id for the calibration preprocess data to work as is usually expects pupil data.
pt['id'] = 0
self.gaze_list.append(pt)
Expand Down

0 comments on commit 0d810e9

Please sign in to comment.