Hand-Shadow Poser

Hao Xu, Yinqiao Wang, Niloy J. Mitra, Shuaicheng Liu, Pheng-Ann Heng, Chi-Wing Fu

TL;DR

This paper introduces Hand-Shadow Poser, a novel system that can generate realistic 3D hand poses to create specific shadow art shapes. It tackles the inverse problem of shadow art creation by decoupling hand anatomy from shadow semantics, enabling it to work with a diverse range of target shapes.

What Problem Does This Paper Address?

Hand shadow art, a creative form of visual expression, involves using hand shadows to mimic various objects. The challenge lies in the inverse problem: given a target shadow shape, how can we find the correct 3D poses of two hands that, when illuminated, cast a shadow matching the target? This is difficult because the space of possible hand poses is vast, anatomical constraints limit what's possible, and shadows lack color and texture, making it hard to infer precise hand shapes. Existing methods often struggle with ambiguity, require manual input, or are limited in the types of shapes they can produce.

Methods

The authors propose a three-stage pipeline:

  1. Generative Hand Assignment: This stage takes the input shadow mask and generates multiple plausible 2D hand shape hypotheses (masks for left and right hands). It uses a conditional denoising diffusion probabilistic model to introduce diversity and handle the ambiguity of mapping a shadow to hand shapes.
  2. Generalized Hand-Shadow Alignment: This stage takes the 2D hand masks from the first stage and estimates coarse 3D hand poses. It leverages a pre-trained transformer network (initialized with RGB image data) and fine-tunes it on a large dataset of hand images. A similarity-driven strategy then selects the best pose hypotheses based on perceptual and semantic scores.
  3. Shadow-Feature-Aware Refinement: This final stage iteratively optimizes the coarse 3D hand poses to precisely match the target shadow. It uses differentiable rendering and incorporates four carefully designed constraints: similarity with saliency guidance (using DINOv2 to focus on key shadow features), anatomy, penetration (preventing hands from intersecting unrealistically), and hand-to-hand distance.

Datasets

  • Training Data: The authors leverage existing public hand datasets, including InterHand2.6M, RenderIH, Two-hand 500K, and others for single-hand and two-hand poses. They augment these by randomly splicing single-hand samples and rendering 3D hand meshes from multiple viewpoints to create a rich training set for the feed-forward models. For the alignment stage, they use a large collection of RGB-based and depth-based datasets.
  • Evaluation Benchmark: A new benchmark of 210 diverse binary mask images was created, categorized into:
  • C1: Alphanumeric characters
    • C2: Real hand-shadow-art shapes from books
    • C3: Shapes of everyday objects from the MPEG-7 dataset and the internet.

Key Insights and Ideas

  • Decoupling Anatomy and Semantics: The core idea is that by separating the problem into anatomical constraints (hand shapes) and semantic constraints (shadow appearance), they can train models more effectively using generic hand data without needing specialized shadow art datasets.
  • Generative Approach for Diversity: Using a diffusion model for hand assignment is crucial for generating multiple, diverse hypotheses, which helps overcome the inherent ambiguity of the inverse problem and leads to richer results.
  • DINOv2 for Saliency Guidance: Employing a powerful vision model like DINOv2 to extract saliency maps allows the refinement stage to focus on preserving critical shadow features, rather than just pixel-level accuracy, which is vital for recognizable shapes.
  • Pre-training and Fine-tuning for Alignment: Initializing the hand-shadow alignment network with weights from RGB image pose estimation and then fine-tuning it on shadow masks allows the model to leverage existing knowledge while adapting to the specific domain.

Key Results

  • Quantitative Performance: The Hand-Shadow Poser achieves the best results across all metrics (LPIPS, CLIP-Global, CLIP-Semantic, DINO-Global, DINO-Semantic) and all three benchmark categories (C1, C2, C3) when compared to three baselines. For example, it achieves the highest DINO-Semantic score (0.56) and the lowest LPIPS (0.14).
  • Qualitative Results: The method successfully reproduces a wide variety of complex shapes, including animals, portraits, buildings, and everyday objects, with high fidelity and preservation of key features (e.g., petals of a flower, beak of a parrot).
  • Efficiency: The proposed method significantly reduces optimization time compared to baselines that rely on random initialization, achieving convergence in an average of 945 iterations and 56 seconds, compared to over 5000 iterations and 300+ seconds for some baselines.
  • User Studies: Participants consistently preferred the results generated by Hand-Shadow Poser over baselines, rating them higher for both global shape similarity and local detail preservation. The method also helped users perform hand shadow demonstrations faster.

Limitations and Future Work

  • Limitations:
    • The method may struggle with arbitrary inputs that have very intricate details or thin structures, as these are difficult to reproduce with human hands.
  • It assumes a fixed light source and doesn't account for forearm occlusion, which can affect shadow contours.
  • The current model is not personalized to individual hand shapes, requiring manual adjustment for specific users.
  • Ensuring the anatomical feasibility of all generated two-hand poses remains a challenge.
  • Future Work:
    • Extending the approach to create animated hand shadow arts for storytelling.
  • Incorporating hand-held objects to create more complex shadow art.
  • Adapting the system to coordinate multiple human hands for more elaborate shadow plays.
  • Investigating the inclusion of forearm models and personalized hand shapes.

Summary updated

BibTeX
@article{xu2025hand,
  author = {Hao Xu and Yinqiao Wang and Niloy J. Mitra and Shuaicheng Liu and Pheng-Ann Heng and Chi-Wing Fu},
  title = {{Hand-Shadow Poser}},
  journal = {ACM Trans. Graphics},
  year = {2025},
  doi = {10.1145/3730836},
}
Figure