Abstract
Facial landmarking in the thermal spectrum is essential for applications ranging from fever screening to autonomous night vision. However, progress is hindered by a severe lack of large-scale annotated datasets. We introduce T-FAKE, a synthetic thermal dataset comprising over 200,000 images across 2,000+ identities. By leveraging a novel RGB2Thermal framework that incorporates clinical temperature priors and patch-based style transfer, we generate biologically plausible thermal images from synthetic RGB data. Our approach enables state-of-the-art sparse and dense landmark detection on real-world thermal data, significantly reducing error rates compared to existing methods while maintaining performance on standard RGB benchmarks.
Introduction
Facial landmarking—the identification of key anatomical points—is a mature field in the RGB domain. In contrast, the thermal modality suffers from extreme data scarcity. Existing thermal datasets typically feature only dozens of individuals in controlled environments, making it difficult to train robust deep learning models. Thermal images lack the high-frequency textures of RGB data, and their appearance is highly sensitive to physiological factors (e.g., blood flow) and environmental conditions. To address this, we propose synthesizing high-quality thermal images from existing synthetic RGB datasets, providing the necessary scale for training advanced landmarking models.
The T-FAKE Dataset and Synthesis Framework
The primary contribution of this work is the T-FAKE dataset, which includes 200,000 frames and over 2,000 subjects. It provides 70-point sparse landmarks, 478-point dense landmarks, and segmentation masks. To ensure robustness, the dataset simulates both "cold" and "warm" physiological states, accounting for the "inversion" problem where features like the nose may appear either darker or lighter than the surrounding skin depending on temperature.
The synthesis is driven by the RGB2Thermal framework, which employs a three-part loss function:
- Supervised Data Term: Utilizes a small set of real paired RGB-thermal images (SEJONG dataset) for basic mapping.
- Wasserstein Patch Distance: An unsupervised style loss that aligns the texture distribution of generated images with real thermal data.
- Clinical Temperature Priors: This physics-informed component uses semantic segmentation to enforce realistic temperature ranges for 18 facial regions (e.g., warmer inner eyes, cooler nose) based on medical literature.
Landmarking Methodology
For landmark detection, we utilize a MobileNet V2 architecture that predicts landmarks probabilistically. This allows the model to estimate uncertainty, facilitating the integration of face detection directly into the landmarking process. To bridge different landmarking conventions (e.g., 68-point vs. 478-point sets), a small Label Adaptation MLP is employed.
Experimental Results
Models trained on T-FAKE achieve state-of-the-art performance on real-world benchmarks. On the challenging CHARLOTTE dataset, our sparse model achieved a Normalized Mean Error (NME) of 0.0815, a significant improvement over previous thermal-specific models like YOLO5Face (0.1012).
Furthermore, T-FAKE enables the first dense (478-point) landmarking capability in the thermal spectrum. Our multimodal model also maintains competitive performance on the RGB-only 300W dataset, demonstrating that learning thermal features does not degrade standard vision performance.
Conclusion
T-FAKE addresses the critical data gap in thermal facial analysis. By combining clinical priors with advanced synthesis techniques, we provide a robust foundation for thermal landmarking. Future work will explore extending this synthetic data to tasks such as non-contact vital sign monitoring and emotion recognition in low-light environments.
Summary updated