Struct Gaze2dFrame#

Struct Documentation#

struct Gaze2dFrame#

One processed video frame’s face detection + calibration-free 2D gaze heuristic. Mirrors run_gaze2d.py’s “frames” JSON array exactly. faceDetected == false means faceBoxPx/gazeDx/gazeDy are meaningless (default-constructed, not real values) — the single source of truth callers must check, matching every sibling result class’s own “one boolean gates several parallel fields” convention.

Public Members

int frameIndex = 0#
int64_t timestampMs = 0#
bool faceDetected = false#
QRect faceBoxPx#
double gazeDx = 0.0#
double gazeDy = 0.0#