Add pose retargeting pipeline
Single command that runs RTMPose3D inference on a reference image and
retargets the keypoints onto a Mixamo-named armature in a .blend file:
./pose.sh <reference.png> <input.blend> <output.blend>
Components:
- pose.sh: shell wrapper that runs RTMPose3D in the rtmpose3d conda env
then invokes Blender headless with apply_pose.py.
- apply_pose.py: opens the input .blend, finds the character armature,
applies pure FK direction-matching for arms and legs, captures head
yaw via orient_bone with the horizontal ear axis, lands the rig on
the floor, saves the posed scene, and renders a front-view preview.
- inputs/: test references (basepose, basepose2, 0102, pose-test, squat)
and the rosella-hunyuan-online rig blend.
- README.md: usage, design notes, and the list of bones intentionally
left at rest (head, feet, spine, clavicles).
mmpose is treated as an external library at $MMPOSE_DIR; this repo is
only the retargeting glue.
This commit is contained in:
BIN
inputs/0102.png
Normal file
BIN
inputs/0102.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
BIN
inputs/basepose.png
Normal file
BIN
inputs/basepose.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 962 KiB |
BIN
inputs/basepose2.png
Executable file
BIN
inputs/basepose2.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
BIN
inputs/pose-test.png
Normal file
BIN
inputs/pose-test.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
BIN
inputs/rosella-hunyuan-online.blend
Normal file
BIN
inputs/rosella-hunyuan-online.blend
Normal file
Binary file not shown.
BIN
inputs/squat.png
Normal file
BIN
inputs/squat.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 758 KiB |
Reference in New Issue
Block a user