Tobii EyeX TCP Javascript Client for Chrome App / Extensions
- Build / Get a prebuild binary of Tobii EyeX TCP Server from https://github.com/5un/eyex-tcp-server
- Include eyex-chrome.js to your scripts
- Initialize Tobii EyeX with
var eyeTracker = new TobiiEyeX({
onFrameCallback: function(frame){
console.log(frame);
},
onBlinkCallback: function(e){
//Do Nothing
}
});
The function passed into onFrameCallback will be called once per tracker frame passing the frame
object containing frame information