Statistical Blendshape Calculation and Analysis for Graphics Applications

Shuxian Li, Tianyue Wanag, Yiqiang Yan, Chris TwomblyVR Workshops 2025

TL;DR

This paper presents a novel, lightweight system for real-time facial blendshape animation using only a standard webcam. By statistically analyzing webcam-captured facial landmarks, the system accurately predicts blendshape coefficients, offering a more accessible and computationally efficient alternative to existing high-end solutions like ARKit.

What Problem Does This Paper Address?

Real-time facial avatar animation is crucial for virtual humans in various applications, from gaming to social media. Blendshapes are a popular method for achieving this, offering a balance between accuracy and computational efficiency. However, existing blendshape estimation methods often rely on high-end sensors (like ARKit's IR and LiDAR) and significant computational resources, limiting their use on low-power devices or standard hardware. This paper aims to bridge this gap by developing an accurate and efficient blendshape prediction system that works with a common webcam, making advanced facial animation more accessible.

Methods

The core of the system involves a multi-stage pipeline to transform raw facial landmarks into blendshape coefficients:

  • Affine Transformation: Raw facial landmarks are first processed through a series of affine transformations (translation, scaling, rotation) to bring them into a consistent, eye-eye-nose centered basis. This helps normalize the data for subsequent steps.
  • Segmentation: To reduce data dimensionality and computational load, relevant keypoint subsets are identified for each blendshape using statistical analysis, including correlation and regression. This step aims to retain high accuracy while significantly reducing the data size.
  • Data Transformation: Further transformations are applied to make the feature data more suitable for regression, aiming to restore linearity and reduce prediction error. Techniques like Principal Component Decomposition (PCD) are used to transform landmark displacements into a new coordinate system.
  • Regression: A statistical process is used to estimate the relationship between the transformed landmark data and blendshape coefficients. The paper explores various regression models, from simpler ones like Ordinary Least Squares (OLS) to more complex methods like Gaussian Process Regression and Support Vector Regression, choosing the most appropriate model for each blendshape based on statistical testing.
  • Bias Correction and Smoothing: To address issues like landmark jitter and improve response stability, the system incorporates nonlinear weighting functions for bias correction and various smoothing algorithms (e.g., gated moving average, Kalman filter). These steps are crucial for minimizing error and ensuring a consistent, smooth visual experience.

Datasets

  • Training Data:
    • 131 raw images from an iPhone 12 Pro were used for initial segmentation and feature identification.
  • Synthetic training data was generated using an Unreal Engine 4 Metahuman avatar, with 200-600 images per blendshape, matching standard webcam resolution (400x600 pixels).
  • Testing Data:
    • 21 videos (1920x1440 resolution) totaling 18209 frames, captured using an iPhone 14.
  • Data from six different testers (4 male, 2 female) performing compound expressions and head movements.
  • Manual annotations were provided by a trained observer.

The paper does not introduce a new benchmark dataset but uses existing video data and compares its performance against Apple's ARKit 6.

Key Insights and Ideas

  • Webcam-based Blendshapes are Feasible: The most significant insight is that accurate blendshape estimation for real-time avatar animation is achievable with just a standard webcam, challenging the notion that high-end sensors are a prerequisite.
  • Statistical Analysis is Key to Feature Selection: The paper demonstrates the power of statistical methods (correlation, regression, F-tests) in identifying the most relevant facial landmarks for specific blendshapes, significantly reducing data complexity and computational cost.
  • Tailored Regression for Each Blendshape: Recognizing that different facial expressions have unique statistical properties, the authors found that choosing and optimizing regression models on a per-blendshape basis leads to better accuracy.
  • Bias Correction and Smoothing are Crucial for Robustness: Landmark jitter and model limitations can introduce bias and instability. The paper highlights the effectiveness of nonlinear bias correction and adaptive smoothing techniques in achieving a smooth and accurate output, especially for challenging expressions.

Key Results

  • Accuracy: The system achieved accuracy comparable to Apple's ARKit 6, with an average mean squared deviation of 0.019. For certain blendshapes like EyeBlinkLeft, EyeBlinkRight, and JawOpen, the system achieved 100% accuracy in precision, recall, and F1-score, matching ARKit.
  • Performance: The algorithm is designed for low-power computing scenarios. The CPU usage, memory usage, and response time were measured, showing stable working states suitable for real-time applications. Response times ranged from 0.86ms to 2.46ms.
  • Hardware Independence: The system's low hardware requirements (standard webcam, CPU-based processing) make it suitable for a wider range of devices, including smartphones and tablets, and systems where ARKit is not available.
  • Efficiency: The segmentation step significantly reduces memory and computation requirements by 95-99%.

Limitations and Future Work

  • Limitations:
    • The accuracy of the system is partly dependent on the underlying landmark detection model (MediaPipe Holistic). Issues like jitter and instability in the landmark detection can affect blendshape prediction, especially under edge conditions (e.g., partial obstruction, extreme head rotation).
  • While comparable to ARKit, ARKit exhibits greater robustness in certain scenarios, and further work is needed to match its standard.
  • The paper notes that some blendshapes (e.g., TongueOut) are not well-represented by the current landmark set.
  • Future Work:
    • Develop more robust and optimized weighting functions for regression.
  • Replace the MediaPipe Holistic model with a custom, more robust keypoint detection method to further improve accuracy and reduce model deformation effects.
  • Investigate and potentially develop more comprehensive landmark sets that better capture all facial movements.
  • Explore further optimization of the blendshape estimation model for even greater robustness under real-world conditions.

Summary updated

BibTeX
@inproceedings{li2025statistical,
  author = {Shuxian Li and Tianyue Wanag and Yiqiang Yan and Chris Twombly},
  title = {{Statistical Blendshape Calculation and Analysis for Graphics Applications}},
  booktitle = {VR Workshops},
  year = {2025},
  doi = {10.1109/vrw66409.2025.00290},
}
Figure