Abstract
Sparse landmark detection is critical for tasks like motion tracking and 3D synthesis, yet it typically relies on expensive, jitter-prone manual annotations. We present an unsupervised approach that frames landmark detection as an unpaired image-to-image translation problem. By training a Generative Adversarial Network (GAN) to translate between standard unmarked videos and videos of subjects with physically painted markers, our system learns to predict temporally consistent, personalized landmarks. Our method eliminates the need for manual labeling and produces stable tracking across diverse domains such as faces and hands.
Introduction
Identifying key points on the face, hands, or body—known as sparse landmark detection—is a foundational step in computer vision. Traditional supervised methods require massive datasets of manually annotated images. However, manual labeling is both laborious and inherently ambiguous, leading to temporal jitter in video applications where human annotators may be inconsistent across frames.
This work addresses these challenges by removing the human-in-the-loop for annotation. We propose a framework that leverages physical markers (paint) as a source of ground truth, allowing a model to learn geometric consistency through an unpaired translation task.
Methods
The core of our approach is reframing landmark detection as an unpaired image translation task, utilizing a CycleGAN-inspired architecture.
Unpaired Video Capture
We capture two separate video sets: one "unmarked" (standard video) and one "marked," where the subject has semantically meaningful lines physically painted on their skin. These sets do not need to be frame-aligned.
Landmark Deformation and Rendering
Instead of regressing coordinates from scratch, we utilize a Landmark Deformation Network ($L_\Delta$). This network takes an unmarked image and predicts deformations (offsets) for a predefined 2D template of landmarks. These deformed landmarks are then rendered onto the unmarked image using a differentiable renderer (PyTorch3D), creating a "fake marked" image.
Training Objectives
A discriminator is employed to distinguish between "fake marked" images and real physically marked videos. To ensure the network learns valid geometry rather than just texture, we enforce Cycle Consistency and a Spring Potential Loss. The latter treats connections between template landmarks as springs, penalizing unnatural stretching or compression to maintain spatial integrity.
Datasets
We evaluated our method on custom datasets for faces and hands. For each domain, we recorded approximately 18,000 frames (10 minutes) of both marked and unmarked video. Frames were processed at a 128x128 resolution. This specific physical-marker capture strategy allows the model to learn from the natural movement of skin-bound paint, providing a temporally consistent signal that manual labels lack.
Key Results and Insights
Our method successfully generates personalized, jitter-free landmarks. By using physical paint, we bypass human annotation error; the paint naturally follows the skin's geometry, providing perfect temporal consistency.
Furthermore, the system is class-agnostic. Because it only requires a generic template and a video of someone with painted lines, it can be adapted to any body part (e.g., hands or feet) without requiring large-scale pre-annotated datasets. Computationally, the model is efficient, requiring only about 2 hours of training on a single NVIDIA RTX Titan GPU for 128x128 resolution data.
Limitations and Future Work
Currently, the model does not explicitly handle occlusions, such as when a hand rotates or fingers cross. Additionally, the requirement for physical markers, while effective for consistency, presents a logistical hurdle for scaling to diverse populations. Future research will focus on improving occlusion robustness and exploring ways to generalize the "marked" domain to reduce the need for physical makeup in every training scenario.
Summary updated