OpenCV + TensorFlow — Head & Eye Tracking
Face detected: —
Head tilt/turn: —
Left eye gaze: —
Right eye gaze: —
Left eye: —
Right eye: —
Attention (looking at screen): —
Cheat sheet
- Face detected: Whether a face is visible to the camera.
- Head pose (Pitch / Yaw): Pitch — nod up/down; Yaw — turn left/right. Values are in degrees.
- Roll: Rotation around the axis from nose to back of the head (tilt left/right).
- Eye gaze: Direction of gaze relative to the center of the screen (small offsets indicate left/right/up/down).
- Eye (open/closed): Determined by Eye Aspect Ratio (EAR). Low EAR → eye likely closed.
- Attention: Indicates whether the person is likely looking at the screen. This uses a combination: face visible, head facing the screen (angle thresholds), and at least one eye open.
- Distance (estimate): Approximate distance to the camera estimated from face size and focal approximation (relative trend, not absolute).
Back to menu