Abstract
Real-time pupil detection is a critical prerequisite for eye-tracking applications such as vestibular videonystagmography (VNG) and gaze-based interaction: deep learning methods offer high accuracy but incur substantial computational cost, while traditional thresholding methods are fast but lack robustness under complex illumination. This paper proposes the Confidence-Guided Fallback (CGF) framework, which employs four geometric factors—circularity, aspect ratio, area consistency, and convex-hull ratio—to evaluate the reliability of traditional detection results, and it invokes RITNet (a deep segmentation network finetuned on randomly cropped s-OpenEDS data) only when the confidence score falls below a threshold, thereby adaptively balancing accuracy and efficiency on a per-frame basis. RITNet is not trained on LPW; thus, LPW evaluation simultaneously constitutes cross-dataset validation. Hyperparameters (confidence weights and threshold values) are tuned on a validation set (15% of LPW subjects) and final performance is reported on an independent test set (18% of subjects), avoiding data leakage. On the validation set, the combined confidence factors achieve an AUROC of 0.961 for distinguishing high-quality frames, and the confidence distribution exhibits a bimodal structure with a valley near 0.7, providing a data-driven basis for threshold selection. On the independent test set (23,999 frames), CGF (τ=0.8) detects 79.0% of frames; among detected frames, 84.0% achieve sub-5 px accuracy (median error 1.25 px) at 298 FPS on NVIDIA RTX 5090. At τ=0.7, detection rate reaches 89.6% with 72.0% sub-5 px accuracy at 391 FPS. Failure-mode analysis reveals that approximately 64.3% of triggered deep-model frames represent “dilemma frames” where both traditional and deep methods fail, marking the practical ceiling of single-frame visual methods and pointing toward temporal modeling. The framework demonstrates robustness to confidence-weight perturbations (±20% weight changes yield < 1% performance variation) and exhibits strong discriminative power on high-confidence frames (93.4% accuracy within 5 px on the test set).
Funding Information
  • WU Yongduo Innovation Center Open Research Project (KY202410068)

This publication has 14 references indexed in Scilit: