Skip to content

Commit

Permalink
Merge pull request #2168 from pupil-labs/surface-tracker-events
Browse files Browse the repository at this point in the history
Add `surf_to_dist_img_trans` and `dist_img_to_surf_trans` to surface events
  • Loading branch information
papr committed Aug 24, 2021
2 parents c4f567e + c7b1189 commit 758c0dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pupil_src/shared_modules/surface_tracker/surface_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,8 @@ def _create_surface_events(self, events, timestamp):
"name": surface.name,
"surf_to_img_trans": surface.surf_to_img_trans.tolist(),
"img_to_surf_trans": surface.img_to_surf_trans.tolist(),
"surf_to_dist_img_trans": surface.surf_to_dist_img_trans.tolist(),
"dist_img_to_surf_trans": surface.dist_img_to_surf_trans.tolist(),
"gaze_on_surfaces": gaze_on_surf,
"fixations_on_surfaces": fixations_on_surf,
"timestamp": timestamp,
Expand Down

0 comments on commit 758c0dc

Please sign in to comment.