Page 1 of 1

Questions about calibration/Java

PostPosted: 04 Dec 2015, 10:41
by daniel.jansson
1. We use Java platform for development of our project.

2. We have a Eyetribe device and we intend to use it for tracking eye
movement. Our requirement are as follows:
To calibrate for an individual and store that calibrated data obtained
from Calibration_Result object. After going through the TET library, I
could understand how custom calibration can be done using functions
GazeManager.CalibrationStarty(), GazeManager.CalibrationPointStart()
and GazeManager.CalibrationPointEnd(),
GazeManager.CalibrationResultListner.OnCalibrationResult().

QUESTION: Is there any step I am missing? Kindly point out.

3. To load the stored Calibration_Result of the individual back again,
.i.e. somehow communicate the server to use the calibration stored in
calibratonResult at the client end. From the documentation on Client
request Message under Tracker Category, we found that
calibrationResult cannot be set. We figured out that we can add
calibrationResult class object in the TrackerSetRequest. However, we
are not sure if that would be enough.

QUESTION: Is there a way so that we can set the calibrationResult?


4. FrameRate can be changed by the user in a config file.

QUESTION: Can you please point out the config file where we can set
the framerate.

5. Since we are making our own UI for calibration, we reckon that we
have to use GazeManager.SwitchScreen() to set the screen size
according to the dimensions of our application. We currently maximize
the application to cover the whole screen.

QUESTION: Do we still have to set the screen size?

Re: Questions about calibration/Java

PostPosted: 07 Dec 2015, 15:17
by Martin
Hi Daniel,

To your questions,

2. We currently do not have a Java GUI available, closest thing would be the C# sample.
The calibration result will contain the overall accuracy and values for each point. It does not contain the calibration data, only information on quality.

3. Calibration result cannot be set. The server automatically saves the latest calibration in the application data folder, C:\Users\JohnDoe\AppData\Local\EyeTribe\default.profile (change JohnDoe to your username). This will be loaded at server startup and overwritten when there is a successful calibration. Currently the API does not allow for changing calibration profile on-the-fly (will come but ETA unknown). Work-around is to copy/rename the "default.profile" file externally.

4. Configuration file is located C:\Users\JohnDoe\AppData\Local\EyeTribe\EyeTribe.cfg
The "framerate" field can be set to either 30 or 60.

5. Server is initialized to be the full primary screen size. If there's more than two screens connected it's recommended to use the SwitchScreen to ensure consistency.

Re: Questions about calibration/Java

PostPosted: 22 Dec 2015, 10:13
by daniel.jansson
Thank you, Martin! Very useful and to the point.

Re: Questions about calibration/Java

PostPosted: 08 Jan 2016, 15:35
by Syamsul
Related to this question. In my case, I conducted twice calibration during eye tribe running app. first and second calibration have different result and i want to use (back to) first calibration result to show the gaze data. To accomplish this case, i use onCalibrationChange method, but i'm still get trouble result. is there any way or prerequisite to implement onCalibrationChanged method?

Best Regard
syam