Skip to content

Commit 3e5ab2d

Browse files
committed
Refactor skeleton rendering API
Reworks `display/skeleton.py`. It replaces the old `Skeleton` runtime/model loading stack with immutable skeleton definition/resolution dataclasses, adds validated metadata-to-definition construction, and introduces a standalone `draw_skeleton(...)` path that supports both single and multi-individual poses. Rendering now returns a structured `SkeletonRenderResult` with clearer status codes (including no-pose, invalid shape, keypoint mismatch, and gradient color mismatch) and tracks drawn edge count.
1 parent 3b6bb8d commit 3e5ab2d

1 file changed

Lines changed: 218 additions & 319 deletions

File tree

0 commit comments

Comments
 (0)