Skip to content

Commit

Permalink
New version of rt-api removes superfluous dimension from calibration
Browse files Browse the repository at this point in the history
  • Loading branch information
domstoppable committed Sep 2, 2024
1 parent 365ac83 commit ca8e579
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pupil_labs/real_time_screen_gaze/gaze_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def __init__(
self.camera = Radial_Dist_Camera(
name='Scene',
resolution=(1, 1),
K=calibration["scene_camera_matrix"][0],
D=calibration["scene_distortion_coefficients"][0],
K=calibration["scene_camera_matrix"],
D=calibration["scene_distortion_coefficients"],
)

def process_frame(self, frame, gaze):
Expand Down

0 comments on commit ca8e579

Please sign in to comment.