Tracks expressive body, hand, and face motion from full-body, upper-body, and portrait images or videos, with joint fitting and flexible input resolutions.
Input → mesh. Two full-body examples, upper-body motion, and a portrait, tracked with the default 1,251 fitting steps. Click a preview for the full input | mesh | overlay animation. Media sources and licenses.
- Better tracking across scenes. More reliable full-body, upper-body, and portrait fitting, including occlusions and large head rotations.
- Faster fitting. Approximately 1.9× faster on the same 436-frame video: 223 s versus 424 s for GUAVA/EHM-Tracker.
- Flexible input resolutions. Supports square, portrait, and landscape inputs at native or custom resolutions, preserving aspect ratio and output dimensions.
Method and comparison details · Runtime options and limitations
GVHMR, HaMeR, and TEASER initialize body, hands, and face. DWPose and dense facial landmarks provide 2D guidance; gated joint optimization refines the EHM parameters with pose priors, 3D hand alignment, and temporal regularization.
Linux + NVIDIA CUDA GPU · Python 3.10. The verified isolated environment uses PyTorch 2.9.1/CUDA 13.0 and PyTorch3D 0.7.9.
GPU memory: approximately 10.70 GiB sampled process peak on a 15-second, 450-frame 1920×1080 video at 30 FPS (--head-only, 32-frame windows, 1,251 steps per window). Memory usage.
- Follow installation to create the environment and install the pinned dependencies.
- Download the licensed models using the file list and official download links.
- Download auxiliary files and check the asset layout:
python scripts/download_support.py
python track.py --check-assets# Full-body image
python track.py --input assets/examples/full_body.jpg \
--output results/images --visualize
# Full-body videos
python track.py --input assets/examples/full_body_motion.mp4 assets/examples/full_body_motion_2.mp4 \
--output results/videos --visualize
# Portrait and cropped upper-body videos
python track.py --input assets/examples/head_motion.mp4 assets/examples/upper_body_motion.mp4 \
--output results/videos --head-only --visualize
# All seven bundled image/video examples
bash scripts/run_examples.shUse --head-only for portraits and upper-body crops with unobserved limbs. This objective still exports a complete EHM mesh. The default body objective can inherit an incorrect arm pose in tightly cropped scenes.
Each input produces motion/camera parameters (optim_tracking.npy), shared identity (id_share_params.npy), initialization data, and completion metadata. --visualize adds tracking.png or tracking.mp4; --save-images adds per-frame input/mesh/overlay PNGs. Output conventions · Runtime and memory options.
Source dimensions are retained by default. --target-size WIDTH HEIGHT uniformly fits the complete image onto a centered, padded canvas:
python track.py --input assets/examples/full_body_motion.mp4 \
--output results/portrait_canvas --target-size 360 640 --visualize
python track.py --input assets/examples/head_motion.mp4 \
--output results/odd_canvas --target-size 641 479 --head-only --visualizeThe person is never stretched or cropped to fill the canvas. Initializer networks retain their fixed-size internal crops; predictions and cameras map back to the selected canvas and source image. Odd-sized videos use H.264 4:4:4; per-frame PNGs are also available.
Export tracked frames with --save-images, then use EMOSH's dataset converter and training code. The video-to-training workflow covers packing records, held-out splits and different image dimensions.
Built on EHM-Tracker / GUAVA, GVHMR, HaMeR, TEASER, DWPose, SMPL-X, FLAME, MANO, MediaPipe, ViTPose, and PyTorch3D.
Project-authored code is Apache-2.0. Third-party components and separately downloaded models retain their own terms, including GVHMR's research/non-commercial restrictions and the SMPL-X/FLAME/MANO agreements. See third-party notices and example media licenses.
@inproceedings{zhang2026emosh,
title={EMOSH: Expressive Motion and Shape Disentanglement for Human Animation},
author={Zhang, Dongbin and Liu, Hao and Dai, Binquan and Chen, Kangjie and Wang, Chuming and Li, Chen and Lyu, Jing and Wang, Haoqian},
booktitle={European Conference on Computer Vision (ECCV)},
year={2026}
}