Skip to content

Eye Tracker Tests

Overview

In the "EyeTracker_Tests" folder located in the ExampleScripts directory, you can find a collection of tests designed to assess the accuracy of your eye tracker. To run these tests, follow the instructions below for each test. You will need to first install the matplotlib library for viewing the charts. See the page in the Vizard Documentation on the Package Manager to see how to install additional Python Libraries. You will find the results (charts, raw data, averages) in the "eyeTrackerTestData" folder.

Note: For all of these tests, make sure to first perform a calibration for your specific device. Look straight ahead and try to keep your head from moving while looking at the bullseye. Do not adjust or move the headset after calibration (otherwise, calibrate again to get valid results).

Spatial Accuracy

  • This script measures the error range of the eye tracker in degrees.
  • Press Spacebar to see the instructions screen, and then press the trigger when ready.
  • Stand on the green cube and fixate your gaze on the bullseye target.
  • Press the trigger button to start saving errors. The bullseye target will move across your visual field.
  • After the test, the errors and the average error will be saved in the "testData" folder, and you can view a scatterplot of the error.
  • You can press the 'r' key to reset your position.

VOR Test

  • This test focuses on assessing accuracy using a VOR (Vestibulo-Ocular Reflex) test.
  • Follow the instructions within the script to perform the test and evaluate the eye tracker's performance.
  • After the test, the errors and the average error will be saved in the "testData" folder, and you can view a scatterplot of the error.
  • You can press the 'r' key to reset your position.

Smooth Pursuit

  • This script evaluates the accuracy of tracking a moving target.
  • Run the script and observe how well your eye tracker can follow the target's movement.
  • After the test, the errors and the average error will be saved in the "testData" folder, and you can view a scatterplot of the error.
  • You can press the 'r' key to reset your position.

Spatial Array

  • Before starting the application, perform the calibration procedure specific to your headset.
  • Run the script and observe the array of balls. The balls will change color when your gaze is directed towards them, highlighting your point of focus.
  • Use the "p" key to toggle the gaze point on and off.

Feel free to use these examples to evaluate and fine-tune your eye tracker's performance. The results, including errors and average error measurements, will be saved in the "eyeTrackerTestData" folder for further analysis and assessment along with a scatterplot generated by matplotlib.

image-20241026091049190