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:
- Webcam initialization π·
- Calibration π―
- Real-time gaze tracking ποΈ
- Task presentation π
- 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:
- Captures webcam frames (60 fps)
- Detects face and eyes (facial landmarks)
- Predicts gaze point (machine learning model)
- Records coordinates (x, y on screen)
- 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ΒΆ
- Instruct participants:
- Sit still
- Look naturally
- Don't overthink
- Be honest in responses
- Environment setup:
- Good lighting
- Quiet space
- No distractions
- Comfortable chair
- 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ΒΆ
| Browser | Version | Support |
|---|---|---|
| Chrome | 90+ | β Full |
| Firefox | 88+ | β οΈ Limited |
| Edge | 90+ | β οΈ Limited |
| Safari | 14+ | β Not supported |
| Mobile | Any | β Not supported |
Next Step: Managing Participants β
See also: Results & Analytics β
Back to: Features Overview β