- Home
- Eye Tracking Software
- iTrace
iTrace
What it is
iTrace is an open-source webcam eye-tracking analysis toolkit for science and research. Its analysis core uses NumPy and SciPy to calculate gaze in degrees of visual angle and identify fixations, saccades, and microsaccades with I-VT, I-DT, and Engbert–Kliegl methods. Pupil tools cover preprocessing, blink detection and interpolation, and eye-crop segmentation, with measurements reported in pixels or relative to iris size. Affine screen-space calibration reports calibration error and gaze-quality measures. The command-line tool can analyze gaze CSV files and export JSON reports; camera workflows can record gaze and pupil CSV data. Optional capture uses OpenCV and MediaPipe iris landmarks, while optional interfaces include a local HTML app using FastAPI and WebSockets and a Streamlit dashboard. Its live views include gaze traces, time series, speed, scanpaths, event rasters, and pupil proxies. The default workflow exports derived data without saving raw eye video or persistent eye-crop images, though live viewing may send a temporary JPEG crop to the browser. iTrace is free under the MIT license, with a listed price of free. Its checks use synthetic ground truth, not real-device validation; webcam pupil measurements are relative proxies, not millimetres.
For and against
For
- Detects fixations, saccades, and microsaccades.
- Reports calibration error and gaze-quality measures.
- Exports derived gaze and pupil data as CSV.
- Free under the MIT license.
Against
- Not validated against real eye-tracking data or a reference device.
- Webcam pupil measurements do not report millimetres.
- Default workflow does not save raw eye video.
The verdict
iTrace brings gaze-event analysis, pupil tools, calibration, and optional webcam interfaces into a free toolkit. Its stated validation and pupil-measurement limits matter when interpreting results as device-level measurements.
Who it suits
iTrace suits science and research users who want a Python toolkit for analyzing gaze data or exploring webcam-based eye-movement estimation. Those reporting device-level accuracy should compare results with a reference device or public dataset.
Plans and prices
iTrace (MIT-licensed open-source software)
MIT license · Python package
Read 10 Oct 2026 · github.com
On the record
- Accuracy limit
- The live webcam pupil measurement is a relative proxy and does not infer pupil diameter in millimetres.github.com · read 9 Oct 2026
- Accuracy limitation
- The project states that live webcam pupil measurements are a relative algorithmic proxy and do not infer millimetres.github.com · read 10 Oct 2026
- Analysis core
- The scientific analysis core uses NumPy and SciPy, with webcam capture provided as an optional layer.github.com · read 10 Oct 2026
- Analysis methods
- Its analysis includes I-VT and I-DT event detection, Engbert–Kliegl microsaccade detection, and pupil blink detection and interpolation.github.com · read 10 Oct 2026
- Calibration
- It supports affine screen-space calibration and reports calibration error and gaze-quality measures.github.com · read 9 Oct 2026
- Capture and interfaces
- Optional components use OpenCV and MediaPipe for capture, FastAPI and WebSockets for a local HTML interface, and Streamlit with Plotly for a dashboard.github.com · read 10 Oct 2026
- Capture integrations
- Optional webcam capture uses OpenCV and MediaPipe Face Mesh iris landmarks.github.com · read 9 Oct 2026
- Data handling
- The README says the default export writes derived gaze, pupil, and capture CSVs without writing raw eye video or persisted eye-crop images.github.com · read 10 Oct 2026
- Exports
- The live app can export derived gaze, pupil, and capture-record CSVs plus a JSON analysis report; its default workflow does not save raw eye video or persisted eye-crop images.github.com · read 9 Oct 2026
- Gaze and events
- It computes gaze in degrees of visual angle and detects fixations, saccades, and microsaccades using I-VT, I-DT, and Engbert–Kliegl methods.github.com · read 9 Oct 2026
- Inputs and outputs
- The CLI can analyze gaze CSV files and export JSON reports, and can record gaze and pupil CSV data from a camera.github.com · read 10 Oct 2026
- Install options
- The README documents Python installation through uv, with capture, dashboard, figures, and web components available as optional extras.github.com · read 9 Oct 2026
- Integrations
- The project lists OpenCV, MediaPipe, FastAPI, Uvicorn, Streamlit, Plotly, and Matplotlib as optional dependencies.github.com · read 10 Oct 2026
- Intended audience
- The package metadata identifies science and research as its intended audience.github.com · read 10 Oct 2026
- License
- The software is released under the MIT License.github.com · read 10 Oct 2026
- Live interfaces
- Optional interfaces include a local FastAPI and WebSocket HTML app and a Streamlit dashboard.github.com · read 9 Oct 2026
- Pupil analysis
- Pupil tools include blink detection and interpolation, preprocessing, and eye-crop segmentation that reports pixel or pupil-to-iris-relative size.github.com · read 9 Oct 2026
- Purpose
- iTrace is a webcam eye-movement analysis toolkit for gaze, saccades, microsaccades, and pupil measurements.github.com · read 10 Oct 2026