Utility for discovering, testing and developing Eye and Gaze Tracking with Qt, Tobii Stream Engine Native and Tobii Eye Tracking Device.
# | Tracker | Description | Status |
---|---|---|---|
1. | Gaze Point | Normalized X/Y-Tracking of gaze at the screen | done |
2. | Gaze Point | Denormalized X/Y-Tracking of gaze at the screen | done |
3. | Gaze Origin | X/Y/Z-Tracking of gaze origin for each eye | done |
4. | Eye Position | X/Y/Z-Tracking of position for each eye | done |
5. | User Presence | Boolean for tracking if user is present | done |
6. | Head Position | X/Y/Z-Tracking of head position and rotation | done |
This utility provides all major tracking capabilities which the eye tracker from Tobii is offering, but still there are a few things to do, to learn and to tinker around with. Please see the TODO.
- Tobii Eye Tracking Device (Developed and tested with Tobii Eye Tracker 4C)
- Tobii Stream Engine Native 2.2.x.x
- Qt 5.10.x
- Paket 5.x
- Visual Studio (tested) or MinGW (not tested)
- Microsoft Windows >= 7 (x86/x64)
For managing dependencies Paket is used and the bootstrapper binary executable is included in the directory .paket. Before continuing the build process please install all dependencies by running:
.paket\paket.exe install
To compile and link the application with MSBuild, but without a Visual Studio Project nor Solution, configure the CLI environment with vcvarsall, where [product] is Community, Professional, etc., [YYYY] the version of VS 2015/2017/etc. and [target] is either x86 or x64.
"C:\Program Files (x86)\Microsoft Visual Studio\[YYYY]\[product]\VC\Auxiliary\Build\vcvarsall.bat" [target]
Inside this environment run qmake, nmake and mt to build either a debug or release build:
qmake qtobii-dev-track.pro
nmake [debug|release]
mt.exe -manifest ..\qtobii-dev-track.mf -outputresource:qtobii-dev-track.exe
To compile and link the application inside Qt Creator just open the qtobii-dev-track.pro, run qmake and build it. When using shadow builds make sure to add one additional build step to copy the packages directory to the build directory before running jom. Otherwise linking will fail due to missing tobii_stream_engine.lib.
To compile and link the application inside Visual Studio generate a Visual Studio project file with qmake and then proceed and build the project.
qmake -tp vc qtobii-dev-track.pro
To compile and link the application with MinGW run:
qmake qtobii-dev-track.pro
mingw32-make