Camera-based attention tracking is currently verified only on desktop Chrome.

Focus timer

25:00

Ready

Ready to beginNot tracking yet

Start the camera and calibrate to unlock the timer. Nothing leaves this device.

Credited Focus Time

0:00

Uses the existing Stage 2 grace-period credit rules; may differ from observed focused time.

Distraction Count
0Includes sustained tracking uncertainty.
Current Focused Streak
0:00
Elapsed Wall Time
0:00
Longest Focused Streak
0:00

The camera estimates whether your gaze is toward the screen. High and medium attention count as observed focused time. Low and unknown do not, and they share one 10-second non-focused threshold. Unknown can result from lighting or unreliable tracking. This is a visual-attention estimate, not a measure of concentration.

How focused time is credited

High and medium focus both earn focused time and maintain the focused streak once on-screen tracking is stable. Low-focus and unknown periods receive no focused-time credit.

High covers the calibrated inner screen region; medium includes screen edges, the expanded screen-facing region, and usable tracking during normal movement. Low means reliable gaze away; unknown means insufficient tracking. Both are non-focused and share one continuous 10-second distraction timer. Switching between them never resets the timer or records another event during the same episode.

A non-focused episode records exactly one distraction after 10 seconds and resets the focused streak. Reliable focus for 300 ms clears the episode timer and counted flag. No-face tracking earns no credit and retains its separate face-absence diagnostic. Manual pause always overrides automatic resume.

Only intervals between fresh inference samples are credited. Gaps of 500 ms or more are dropped entirely; camera shutdown and calibration loss pause credit immediately. The countdown can lag by one inference frame. Elapsed time includes pauses. Streak time does not grow during non-focused periods; it resets when the 10-second threshold is reached. Manual pause and inference gaps also clear the streak.

FocusedLow attentionTracking unknownPausedDistraction recorded
Stage 2 transition and episode diagnostics

Input: invalid. Attention: unknown. Non-focused episode: 0.0 / 10.0 s; counted: no. Latest episode reason: Non-focused episode started: awaiting reliable focus

Low and unknown share one elapsed-time episode, including missing-frame interruptions. Only 300 ms of reliable on-screen focus resets it. Face absence remains a diagnostic override; manual pause and completion retain precedence. Gaps never earn credit. Logs are temporary and also appear in the browser console.