Questions about calibration/Java

Forum to report issues and bugs on Windows 7, 8, and 10.

Questions about calibration/Java

Postby daniel.jansson » 04 Dec 2015, 10:41

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?
daniel.jansson
 
Posts: 2
Joined: 14 Apr 2015, 10:59

Re: Questions about calibration/Java

Postby Martin » 07 Dec 2015, 15:17

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.
Martin
 
Posts: 567
Joined: 29 Oct 2013, 15:20

Re: Questions about calibration/Java

Postby daniel.jansson » 22 Dec 2015, 10:13

Thank you, Martin! Very useful and to the point.
daniel.jansson
 
Posts: 2
Joined: 14 Apr 2015, 10:59

Re: Questions about calibration/Java

Postby Syamsul » 08 Jan 2016, 15:35

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
Syamsul
 
Posts: 4
Joined: 16 Mar 2015, 11:18


Return to Issues and troubleshooting - Windows