Downloads · 30 days
0
ayzeksalimli/pose-driven-3d-characters
pose-driven-3d-characters is a machine learning model from ayzeksalimli. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Stand in front of the camera and a rigged 3D character copies your pose in real time.
Downloads · 30 days
0
Access
Public
Updated Jul 26, 2026
Repo size
28 MB
Likes
0
Public
Click a slice to open those files.
.pt24.2 MB · 86%
From the Hugging Face model README
Stand in front of the camera and a rigged 3D character copies your pose in real time.


Two models, no training:
models/yolo26s-pose.pt) returns 17 body keypoints per person
(shoulders, elbows, wrists, hips, knees, ankles, face), tracked across frames and
smoothed with a one euro filter.models/characters/*.glb) carry their own skeletons:
Michelle (Mixamo), Rigged Figure and Cesium Man (Khronos samples). Switch with
M / N. The .glb files are read directly - meshes, skinning weights, bones and
embedded textures - and drawn by a small software rasterizer, so there is no
game engine and no GPU requirement.Each bone is aimed at the direction its keypoints describe. A bone points along
parent.rotation @ child_offset, so making that equal the target gives its local
rotation:
R = animated_parent.rotation^-1 @ swing(rest -> target) @ bind_parent.rotation
Both accumulated rotations are needed, animated and bind. Using the animated one on both sides only works when the bind rotation is identity, which is never true once a rig has an axis-conversion root, and it misaims every limb by up to 20 degrees.
The rest of it:
Views cycle with K: character only, character with a camera inset, or camera with a
character inset. Keypoints and the skeleton are drawn on the camera image.
Keys: K view, M / N model, F detail, L keypoint names, Y / P rotate view,
R reset view, D debug, H help, Q quit.
pip install -r requirements.txt
python src/app.py
python src/app.py --model "Rigged Figure"
python src/app.py --camera 1 --pose-size 448 --no-mirror
by Salimli Ayzek (Салимли Айзек): https://mathematiclove.github.io