Tobii Pro SDK Python API
|
Represents the calibration data used by the eye tracker. More...
Inherits object.
Public Member Functions | |
def | __init__ (self, eyetracker) |
Initialize a new HMDBasedCalibration object from an existing EyeTracker object. | |
def | enter_calibration_mode (self) |
Enters the calibration mode and the eye tracker is made ready for collecting data and calculating new calibrations. More... | |
def | leave_calibration_mode (self) |
Leaves the calibration mode. More... | |
def | collect_data (self, x, y, z) |
Starts collecting data for a calibration point. More... | |
def | compute_and_apply (self) |
Uses the data in the temporary buffer and tries to compute calibration parameters. More... | |
Represents the calibration data used by the eye tracker.
def tobii_research.HMDBasedCalibration.collect_data | ( | self, | |
x, | |||
y, | |||
z | |||
) |
Starts collecting data for a calibration point.
The argument used is the point the calibration user is assumed to be looking at and is given in the HMD coordinate system. See find_all_eyetrackers or EyeTracker.__init__ on how to create an EyeTracker object.
x | x coordinate in the HMD coordinate system. |
y | y coordinate in the HMD coordinate system. |
z | z coordinate in the HMD coordinate system. |
EyeTrackerConnectionFailedError | |
EyeTrackerFeatureNotSupportedError | |
EyeTrackerInvalidOperationError | |
EyeTrackerLicenseError | |
EyeTrackerInternalError |
def tobii_research.HMDBasedCalibration.compute_and_apply | ( | self | ) |
Uses the data in the temporary buffer and tries to compute calibration parameters.
If the call is successful, the data is copied from the temporary buffer to the active buffer. If there is insufficient data to compute a new calibration or if the collected data is not good enough then an exception will be raised. See find_all_eyetrackers or EyeTracker.__init__ on how to create an EyeTracker object.
EyeTrackerConnectionFailedError | |
EyeTrackerFeatureNotSupportedError | |
EyeTrackerInvalidOperationError | |
EyeTrackerLicenseError | |
EyeTrackerInternalError |
def tobii_research.HMDBasedCalibration.enter_calibration_mode | ( | self | ) |
Enters the calibration mode and the eye tracker is made ready for collecting data and calculating new calibrations.
See find_all_eyetrackers or EyeTracker.__init__ on how to create an EyeTracker object.
def tobii_research.HMDBasedCalibration.leave_calibration_mode | ( | self | ) |
Leaves the calibration mode.
See find_all_eyetrackers or EyeTracker.__init__ on how to create an EyeTracker object.