Skip to content

Gaze Tracking ProcessΒΆ

The Magic Happens Here

This is where RemoteGazeUX transforms webcam data into insights. Let's explore how it works!

🎯 Overview¢

The eye tracking page is the heart of RemoteGazeUX. It handles:

  1. Webcam initialization πŸ“·
  2. Calibration 🎯
  3. Real-time gaze tracking πŸ‘οΈ
  4. Task presentation πŸ“‹
  5. Data collection πŸ’Ύ

All happening seamlessly in the browser!

πŸ”„ The Complete ProcessΒΆ

Visual FlowΒΆ

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Webcam Access   β”‚ ← User grants permission
β”‚   Request        β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚
         β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Camera Setup    β”‚ ← WebGazer initializes
β”‚  & Positioning   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚
         β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Calibration     β”‚ ← Click dots to train
β”‚                  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚
         β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Task 1          β”‚ ← Present prototype
β”‚  Execution       β”‚   + Track gaze
β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚
         β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Task 2, 3...    β”‚ ← Continue tasks
β”‚  (Sequential)    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚
         β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Data Saved      β”‚ ← Store in database
β”‚  Thank You!      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“· Step 1: Webcam AccessΒΆ

What HappensΒΆ

When participants first arrive, they see a permission request:

"RemoteGazeUX wants to use your camera"

🎯 Step 2: Calibration¢

Calibration = Accuracy

This is the most critical step! Good calibration means good data.

What is Calibration?ΒΆ

Calibration teaches WebGazer where YOU look:

  • Machine Learning: Builds a model unique to each user
  • Click-to-Gaze: Correlates mouse clicks with eye position
  • Continuous: Model improves throughout the session

The Calibration InterfaceΒΆ

Participants see a series of points that must be clicked to calibrate the model.

Visual FeedbackΒΆ

Real-time feedback helps participants:

  • βœ… Change in color - Point complete

πŸ‘οΈ Step 3: Gaze TrackingΒΆ

How It WorksΒΆ

Once calibrated, WebGazer continuously:

  1. Captures webcam frames (60 fps)
  2. Detects face and eyes (facial landmarks)
  3. Predicts gaze point (machine learning model)
  4. Records coordinates (x, y on screen)
  5. Stores data (timestamped points)

What Participants SeeΒΆ

They only see the information of tasks. In prior studies conducted by the developers of WebGazer.js it was shown that gaze feedback was a distraction.

πŸ–±οΈ Step 4: Mouse TrackingΒΆ

Simultaneous CollectionΒΆ

While tracking gaze, we also record mouse movements

πŸ“‹ Step 5: Task PresentationΒΆ

Task DisplayΒΆ

TODO: agregar una captura de como se muestran las tareas.

πŸ’Ύ Step 6: Data StorageΒΆ

Real-Time SavingΒΆ

Data is saved continuously.

πŸ’‘ Best PracticesΒΆ

For Accurate TrackingΒΆ

Do's

  • βœ… Calibrate thoroughly - Don't rush
  • βœ… Good lighting - Even, front-facing light
  • βœ… Stable position - Don't move around much
  • βœ… Clear instructions - Participants understand what to do
  • βœ… Pilot test - Test with a few people first

Don'ts

  • ❌ Skip calibration - Data will be poor
  • ❌ Backlit participants - Windows behind them
  • ❌ Moving heads - Accuracy suffers
  • ❌ Too many tasks - Fatigue reduces quality
  • ❌ Long sessions - Keep under 20 minutes

For Better Data QualityΒΆ

  1. Instruct participants:
    • Sit still
    • Look naturally
    • Don't overthink
    • Be honest in responses
  2. Environment setup:
    • Good lighting
    • Quiet space
    • No distractions
    • Comfortable chair
  3. Task design:
    • Clear objectives
    • Reasonable time limits
    • Not too complex
    • Natural scenarios

πŸ”§ Technical DetailsΒΆ

WebGazer.jsΒΆ

What is it?

  • Open-source eye tracking library
  • Works entirely in browser
  • No server-side processing

Cited in 1000+ research papers!

Browser RequirementsΒΆ

BrowserVersionSupport
Chrome90+βœ… Full
Firefox88+⚠️ Limited
Edge90+⚠️ Limited
Safari14+❌ Not supported
MobileAny❌ Not supported

Next Step: Managing Participants β†’

See also: Results & Analytics β†’

Back to: Features Overview β†’