Skip to content

Conversation

jnareb
Copy link
Contributor

@jnareb jnareb commented Sep 10, 2025

No description provided.

This field is to be used in the cases where eye-tracker hardware
(or eye-tracker emulation) returns position in pixels, rather than
normalized position in the 0.0..1.0 that needs to be rescaled.
Now tobii_research [1][2] module does not need to be installed
to be able to use mouse emulation.

[1]: https://developer.tobiipro.com/python.html
[2]: https://pypi.org/project/tobii-research/

This change removes 'import tobii_research as tr' from
checkPythonEnvironment() method, and adjusts checkEyeTracker() and
getEyeTrackerName() to work correctly even if tobii_research is not
installed.

Not tested yet.

The problem with requiring tobii_research is that it requires specific
Python version to be able to be installed: 3.8 or 3.10 [3][4][5]

[3]: https://www.tobii.com/products/software/applications-and-developer-kits/tobii-pro-sdk
[4]: https://developer.tobiipro.com/tobiiprosdk/platform-and-language.html
[5]: https://codegrits.github.io/CodeGRITS/usage-guide/#python-environment
This information is available, but was not added to the eye_tracking.xml
file generated by CodeGRITS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant