Webcam gaze estimates alongside keystroke logs
TypeFlow Eye pairs browser-recorded writing events with webcam-derived gaze estimates through the TypeFlow Eye Engine.
Created and maintained by Aitor Garcés-Manzanera, University of Murcia.
- Recorded
- Keystroke events and webcam-derived gaze estimates in one writing session.
- Access
- Open the session in a desktop browser; a webcam and physical keyboard are required.
- Review
- Inspect the exported workbook and replay the session before analysis.
TypeFlow Eye session video
Screen recording of TypeFlow Eye during a writing session, with the session timer, word count and webcam-derived gaze display visible.
Choose the session for your task
Each application pairs keystroke logging with webcam-derived gaze estimates. Choose the writing environment that matches your materials.
-
Eye Core
For a standard writing task in the TypeFlow editor.
-
Eye Multi
For writing tasks that use multiple prompts or visual stimuli.
-
Eye Slides
For writing and composition tasks built around a slide deck.
Use the same application version, task materials and setup throughout a study where direct comparisons matter.
TypeFlow Eye Engine
The shared TypeFlow-developed system behind Eye Core, Eye Multi and Eye Slides. It connects webcam capture and gaze estimation with calibration, quality records, writing-event timing and research exports.
Research status. The software pipeline is engineering-ready; the gaze model is still a provisional candidate. TypeFlow Eye has not been validated against a reference eye tracker. Calibration and in-app validation describe a session; they do not establish independent spatial accuracy.
How a session moves through the Engine
The pipeline records timing and quality evidence across stages; not every camera frame produces a gaze estimate.
Capture webcam frames
The browser measures camera settings, presented-frame timing, processing latency and dropped frames. Gaze processing runs locally in the browser; camera permission is required.
Locate the face and eye regions
A worker-based MediaPipe Face Landmarker path supplies facial landmarks and eye geometry (478 landmarks in the pinned model). The runtime can fall back to the classic Face Mesh path if the preferred provider cannot initialize or run.
Estimate a screen position
The current packaged candidate receives left- and right-eye image crops plus eye-box geometry and returns a provisional two-dimensional gaze coordinate. It does not provide a validated 3D gaze ray or calibrated frame-level uncertainty.
Calibrate and check the session
The TypeFlow protocol uses 21 screen targets, two confirmations per target, an 800 ms settling period and at least 36 usable frames per target. A separate 12-target validation run (2 seconds per target) is scored before any permitted adaptation; its result is session evidence, not a reference-tracker comparison.
Track continuity and signal quality
A 20-factor quality vector covers eye visibility, native image quality, landmark and iris stability, binocular agreement, geometry freshness, capture continuity, head pose and model-input validity. Tracking states are recorded as TRACKING, DEGRADED, REACQUIRING or LOST; missing or off-screen estimates remain identifiable instead of being replaced with invented coordinates.
Relate gaze to writing
The shared analysis pipeline aligns gaze with timestamped typing, pauses, revisions, text and editor layout. It derives fixation, inter-fixation transition and area-of-interest evidence while retaining the mapping and time support needed to interpret each result.
Export and review
Session workbooks include raw and condensed gaze, quality and validation evidence, fixations, transitions and supported derived summaries. Replay Studio ↗ helps inspect the event sequence and gaps before analysis.
The workbook retains a sheet named “Saccades” for compatibility; the shared pipeline labels its records as inter-fixation transitions. Their displacement-over-time value is not a physiological saccade-velocity measurement.
Fixation and area-of-interest records are estimates. On their own, they do not establish that a region was read, understood or intentionally attended.
TypeFlow-developed code and external components
The acquisition, calibration, quality and writing-analysis system is developed within TypeFlow. Its model and runtime dependencies are identified separately.
| TypeFlow-developed layer | Provider control, camera and timing policy, image preprocessing, calibration and validation orchestration, quality and continuity rules, gaze-to-writing alignment, AOI evidence and export contracts. |
|---|---|
| Gaze-model weights | Peekr 1.2.1 ONNX weights are bundled as a provisional bootstrap candidate under the MIT licence. They are not a scientifically selected or TypeFlow-trained final model. Peekr source ↗ |
| Face and eye geometry | MediaPipe Tasks Vision 1.0.1 Face Landmarker is the preferred geometry provider; classic MediaPipe Face Mesh is the automatic fallback. Official Face Landmarker guide ↗ |
| Model runtime | ONNX Runtime Web 1.25.1 executes the bundled gaze model in the browser. ONNX Runtime Web documentation ↗ |
| Separate comparison provider | WebGazer 3.5.3 is a separate provider in the application; it is not the TypeFlow Eye Engine or the source of TypeFlow’s calibration and writing-analysis pipeline. WebGazer project ↗ |
Version record
| Application build | The V43 TypeFlow Eye applications reviewed for this page were built on 28 October 2026. |
|---|---|
| Eye Engine | TypeFlow Eye Engine vNext · 0.3.13-signal-integrity. V43 keeps this Engine version; the application build and Engine version are separate identifiers. |
| V43 scope | V43 updates writing-event capture and reconstruction, including modifier-release provenance and CJK/IME composition handling. It does not introduce a new gaze model or establish gaze accuracy. |
| Published suite status | When checked on 28 October 2026, the public TypeFlow release page still listed V42 (13 October 2026). Use the application build and Engine version recorded with the actual session when reporting results. Check the public release page ↗ |
Run and review a session
Set up the session
Use the anonymous participant code assigned by the researcher; leave it blank to generate one. Do not enter names. Check the session value (default S1) and writing language; group or condition is optional.
Check the camera and browser
Use desktop Chrome or Edge over HTTPS and allow webcam access. Ensure good lighting and ask the participant to keep their head steady.
Calibrate, then write
Complete the webcam calibration shown in the application before starting the task. Confirm that the gaze display responds and that the writing task is visible and behaves as intended.
Stop, inspect and export
When the session ends, review the workbook and final text. The current application reports XLSX, TXT and DOCX outputs. Check the quality and validation sheets, then replay the session to inspect gaps or unexpected events.
Before a study: run a complete test on the same browser, screen, camera and task layout participants will use.
Keep the software version, analysis settings and exported quality evidence with the study record.
Research and publications
What to inspect in an export
Sample Eye workbooks include recorded event and gaze sheets alongside derived and quality information.
| Writing record | Event Stream, pause episodes, revision episodes and the reconstructed text sequence. |
|---|---|
| Gaze record | Gaze (Raw), Gaze (Condensed), Eye Quality, fixations and saccades. |
| Derived views | Pause and revision gaze context, gaze-to-caret coupling, and areas-of-interest summaries. |
| Quality and settings | Keep sheets such as EYE_VALIDATION, EYE_PARAMS and EYE_LAYOUT_TIMELINE with the session export. |
These are sheet names from the supplied sample workbooks. Check the workbook produced by the application version used in your study; outputs can change between releases.
Sample files: Eye Core workbook (.xlsx) · Eye Multi workbook (.xlsx)
Interpretation and limits
TypeFlow Eye is experimental and has not been validated against a reference eye tracker. Treat fixation, saccade and area-of-interest outputs as derived estimates. Pilot the complete setup and retain quality evidence before deciding whether they support your research question.
A direct comparison across five visual tasks found that WebGazer detected eye-movement patterns more slowly and with lower spatial accuracy than infrared tracking in the tested tasks. This does not validate TypeFlow Eye. Slim et al. (2024) ↗ The WebGazer repository says its current iteration no longer corresponds to the systems described in earlier papers and that official maintenance ended on 24 February 2026. Check which build is included in the application you use.
For reproducibility, report the TypeFlow Eye release, task layout, browser and device conditions, calibration procedure, exclusions and analysis settings.
Webcam eye-tracking literature
Papoutsaki, A., Sangkloy, P., Laskey, J., Daskalova, N., Huang, J., & Hays, J. (2016). WebGazer: Scalable Webcam Eye Tracking Using User Interactions. In Proceedings of IJCAI 2016 (pp. 3839–3844). Proceedings paper ↗
Slim, M. S., Kandel, M., Yacovone, A., & Snedeker, J. (2024). Webcams as Windows to the Mind? A Direct Comparison Between In-Lab and Web-Based Eye-Tracking Methods. Open Mind, 8, 1369–1424. https://doi.org/10.1162/opmi_a_00171 ↗
Psarra, E., Krassanakis, V., & Kesidis, A. L. (2026). Systematic Performance Evaluation of WebGazer Webcam-Based Eye Tracking with Spatial and Angular Error Analysis. Journal of Eye Movement Research, 19(5), 99. https://doi.org/10.3390/jemr19050099 ↗
Related work by the creator: Aitor Garcés-Manzanera’s publication list ↗.
WebGazer project: source repository and current maintenance note ↗.
Data handling and ethics
Explain camera access, recorded events, identifiers and file delivery before a participant starts a session.
| Webcam | The live TypeFlow Eye page states that data are processed locally and requests webcam access for gaze estimation. Confirm that this remains true for the version participants will use. |
|---|---|
| Session files | The live application states that XLSX, TXT and DOCX files are generated when a session stops. The setup also has optional researcher/backup email fields; check the delivery and retention route before describing it to participants. |
| Participant code | Use the anonymous code assigned by the researcher, or leave the field blank for the application to generate one. Do not enter names. |
Before collection
- Explain webcam access, recorded keystrokes and gaze estimates, and the actual file-delivery route in the participant information.
- Use a coded participant ID and keep any identity key separate from session files.
- Confirm that export, email and retention practices match the approved study plan and institutional requirements.
Related information
Contact

TypeFlow is developed for academic research in collaboration with the L2WRITE Group.