Home › Forums › Eye Tracking Devices › Getting wrong display area from Tobii Pro SDK
Tagged: display area, TobiiSDK
- This topic has 0 replies, 1 voice, and was last updated 4 months, 2 weeks ago by Manohar.
- AuthorPosts
- 16/07/2024 at 16:24 #24717ManoharParticipant
Hi,
I am working with the Tobii Pro SDK, and i realized it was giving me the wrong display area.
Display area from the monitor :
screen = get_monitors()[0]
self.screen_width = screen.width
self.screen_height = screen.height
print(f”Screen width: {self.screen_width}, Screen height: {self.screen_height}”)Display area from eye tracker :
display_area = eyetracker.get_display_area();
fprintf(‘BottomLeft: %.2f %.2f %.2f\n’,display_area.BottomLeft);
fprintf(‘BottomRight: %.2f %.2f %.2f\n’,display_area.BottomLeft);
fprintf(‘TopLeft: %.2f %.2f %.2f\n’,display_area.TopLeft);
fprintf(‘TopRight: %.2f %.2f %.2f\n’,display_area.TopRight);
fprintf(‘Height: %.2f\n’,display_area.Height);
fprintf(‘Width: %.2f\n’,display_area.Width);The getmonitors() is giving me the correct values of my laptop – 1920 * 1200
But when i get the display area from the eye tracker i am getting wrong values.here’s the output-
Eyetracker connected successfully.
Screen width: 1920, Screen height: 1200
ADA Coordinates: {‘bottomLeft’: (-277.5, 8.118664741516113, -7.686825275421143), ‘bottomRight’: (277.5, 8.118664741516113, -7.686825275421143), ‘topLeft’: (-277.5, 334.0745544433594, 110.95140838623047), ‘topRight’: (277.5, 334.0745544433594, 110.95140838623047), ‘height’: 346.8750099353899, ‘width’: 555.0}
Starting gaze data collection and visualization…”Can anyone help me with this issue
- AuthorPosts
- You must be logged in to reply to this topic.