Skip to content

Latest commit

 

History

History
75 lines (63 loc) · 3.23 KB

README.md

File metadata and controls

75 lines (63 loc) · 3.23 KB

QTobiiDevTrack

Build status

Utility for discovering, testing and developing Eye and Gaze Tracking with Qt, Tobii Stream Engine Native and Tobii Eye Tracking Device.

Features

Screenshots of QTobiiDevTrack

# 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

Development

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.

Requirements

Building

Dependencies

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

MSBuild

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

Qt Creator

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.

Visual Studio

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

MinGW

To compile and link the application with MinGW run:

qmake qtobii-dev-track.pro
mingw32-make