A mouse replacement for eye-tracking and head-tracking. Work in progress.
- Tobii eyeX 4C
- Gyroscope
As an alternative to using a gyroscope, you may use a webcam to track your head position. Sofrware that does this is freely available (eviacam). However, tracking is problematic in bad ambient light conditions (including direct light and darkness). Also, running computer vision algorithms to process 60 frames from the camera per second is expensive.
- Linux (with
uinput
module) tobiiusbserviced
must be running (must be acquired from Tobii)
- Rust
Use Tobii's stream engine to interface with the Tobii eyeX 4C.
No. That would be possible in theory, but Tobii hardware only supports one screen. Some users have requested this feature already .
No. But this could be done via different calibrations (one per screen).
No. The calibration flow is planned as follows:
tobii_calibration_start
,tobii_calibration_collect_data_2d
,tobii_calibration_compute_and_apply
(for calibrating)tobii_calibration_retrieve
(and dump to a file)tobii_calibration_apply
(after reading from a file)
Tobii also notes that you should recalibrate for glasses/lenses as well as light/dark environment.
- https://www.omnicalculator.com/math/arc-length#arc-length-formula
- https://thume.ca/2016/03/24/eye-tracker-reviews-pupil-labs-tobii-eyex-eye-tribe-tobii-x2-30/
- https://github.com/trishume/tobii-sys
I am using a Wit-Motion JY901 module which contains a MPU9250 which combines the MPU6500 (accelerometer, gyroscope) and the AK8963 (magnetometer).
See:
- https://github.com/psiphi75/mpu9250-i2c
- https://github.com/copterust/mpu9250
- https://www.invensense.com/products/motion-tracking/9-axis/mpu-9250/
- https://github.com/semaf/MPU-9250
- https://www.hackster.io/30503/using-the-mpu9250-to-get-real-time-motion-data-08f011
- https://github.com/brumster/EDTracker2
- https://github.com/TheChapu/GY-91
- https://github.com/eupn/bno055
- https://github.com/pinetum/Sensor-JY901