3 import tobii_research
as tr
6 eyetracker = tr.EyeTracker(address)
8 print(
"Address: " + eyetracker.address)
9 print(
"Model: " + eyetracker.model)
10 print(
"Name (It's OK if this is empty): " + eyetracker.device_name)
11 print(
"Serial number: " + eyetracker.serial_number)
13 if tr.CAPABILITY_CAN_SET_DISPLAY_AREA
in eyetracker.device_capabilities:
14 print(
"The display area can be set on the eye tracker.")
16 print(
"The display area can not be set on the eye tracker.")
18 if tr.CAPABILITY_HAS_EXTERNAL_SIGNAL
in eyetracker.device_capabilities:
19 print(
"The eye tracker can deliver an external signal stream.")
21 print(
"The eye tracker can not deliver an external signal stream.")
23 if tr.CAPABILITY_HAS_EYE_IMAGES
in eyetracker.device_capabilities:
24 print(
"The eye tracker can deliver an eye image stream.")
26 print(
"The eye tracker can not deliver an eye image stream.")
28 if tr.CAPABILITY_HAS_GAZE_DATA
in eyetracker.device_capabilities:
29 print(
"The eye tracker can deliver a gaze data stream.")
31 print(
"The eye tracker can not deliver a gaze data stream.")
33 if tr.CAPABILITY_HAS_HMD_GAZE_DATA
in eyetracker.device_capabilities:
34 print(
"The eye tracker can deliver a HMD gaze data stream.")
36 print(
"The eye tracker can not deliver a HMD gaze data stream.")
38 if tr.CAPABILITY_CAN_DO_SCREEN_BASED_CALIBRATION
in eyetracker.device_capabilities:
39 print(
"The eye tracker can do a screen based calibration.")
41 print(
"The eye tracker can not do a screen based calibration.")
43 if tr.CAPABILITY_CAN_DO_MONOCULAR_CALIBRATION
in eyetracker.device_capabilities:
44 print(
"The eye tracker can do a monocular calibration.")
46 print(
"The eye tracker can not do a monocular calibration.")
48 if tr.CAPABILITY_CAN_DO_HMD_BASED_CALIBRATION
in eyetracker.device_capabilities:
49 print(
"The eye tracker can do a HMD screen based calibration.")
51 print(
"The eye tracker can not do a HMD screen based calibration.")
53 if tr.CAPABILITY_HAS_HMD_LENS_CONFIG
in eyetracker.device_capabilities:
54 print(
"The eye tracker can get/set the HMD lens configuration.")
56 print(
"The eye tracker can not get/set the HMD lens configuration.")