Abstract
Facial landmarking is a critical task for applications ranging from healthcare to autonomous driving. While standard RGB-based landmarking has reached high maturity, thermal imaging suffers from a severe lack of large-scale annotated data. This paper introduces T-FAKE, the first large-scale synthetic thermal dataset for facial landmarking. By utilizing a novel RGB2Thermal loss that integrates clinical temperature priors with patch-based style transfer, the authors enable high-precision dense landmarking (478 points) on thermal images using models trained entirely on synthetic data. The resulting models demonstrate state-of-the-art performance and robust generalization to real-world thermal sensors.
Introduction
Identifying specific facial points, such as eye corners or the nose tip, is a solved problem in the RGB domain thanks to datasets containing millions of faces. However, thermal imaging presents unique challenges. Thermal datasets are typically small, and the visual "features" differ fundamentally from RGB; for example, a nose's appearance is dictated by blood flow and ambient temperature rather than just texture and shadow. This contrast inversion often causes traditional RGB algorithms to fail. T-FAKE addresses this data gap by transforming existing synthetic RGB data into physiologically accurate thermal imagery.
Methodology: The RGB2Thermal Pipeline
The authors propose a "thermalization" pipeline to convert the synthetic RGB dataset (FAKE) into T-FAKE. The core innovation is the RGB2Thermal loss function, which ensures that generated images are not only visually plausible but also physiologically correct.
As shown in the methodology diagram, the loss function consists of three components:
- Supervised Data Term: Uses a small set of real paired RGB-Thermal images to establish basic mapping.
- Wasserstein Patch Distance: An unsupervised term that matches the distribution of local textures in generated images to real thermal data, aiding generalization to "in-the-wild" conditions.
- Clinical Temperature Prior ($R$): This "physics-informed" component uses semantic segmentation to identify 18 facial regions and enforces realistic temperature ranges based on medical literature, preventing the generation of physiologically impossible heat patterns.
For landmarking, the system employs a probabilistic regression model (MobileNet V2) that predicts both coordinates and an uncertainty score ($\sigma$). This uncertainty is used as a proxy for face detection; if the model is highly unsure, it assumes no face is present, eliminating the need for a separate detection pre-processing step.
The T-FAKE Dataset
The resulting T-FAKE dataset contains 200,000 synthetic thermal images of over 2,000 unique subjects. It provides both sparse (70-point) and dense (478-point) landmark annotations, alongside semantic segmentation masks. This represents the first work to provide such high-density landmarking for thermal imagery.
Key Results and Insights
- State-of-the-Art Performance: On the real-world CHARLOTTE benchmark, the T-FAKE-trained model achieved a Normalized Mean Error (NME) of 0.0815, significantly outperforming specialized thermal models like YOLO5Face (0.1012) and standard RGB models like MediaPipe (0.2023).
- Zero-Shot Generalization: Despite being trained only on synthetic data, the model generalized exceptionally well to real-world thermal sensors it had never encountered during training.
- Robustness: The inclusion of clinical priors allowed the model to handle extreme temperature variations (e.g., a chilled nose in a warm face) that typically break traditional RGB-adapted models.
Conclusion and Future Work
T-FAKE successfully bridges the gap between synthetic RGB data and real-world thermal applications. By incorporating medical knowledge into the style transfer process, the authors created a dataset that produces robust, high-precision landmarking models. Future research will focus on multimodal joint training, allowing a single model to process RGB and thermal streams simultaneously for ultra-robust tracking in any lighting condition.
Summary updated