Commit Graph
4 Commits
Author SHA1 Message Date
rubenvillarreal 8bf7a55df5 Fix reference poses being manipulatable in single pose mode
- Reference poses are now only used as alignment targets, not manipulatable poses
- In single pose mode, extract reference poses but don't create transformations for them
- Assignment parameter now works correctly to choose which reference pose to align to
- MB transformation is always identity when poseB is None
- This should also fix aspect ratio issues caused by incorrect pose extraction
2025-08-01 08:00:24 +00:00
rubenvillarreal 240679a11a Make poseB inputs optional for single pose alignment
- Moved poseB_img and poseB_json from required to optional inputs
- Updated align() method to handle optional poseB parameters
- Added single pose mode that aligns poseA to first reference person
- Modified preview image generation to work with single pose
- Updated transformation logic to handle missing poseB data
- Output now returns empty B images when only one pose provided

This allows the node to work with just one pose input instead of requiring both poses.
2025-08-01 07:46:01 +00:00
rubenvillarrealandClaude 6320c720f6 Fix module imports and simplify node initialization
- Updated __init__.py to use simplified loading approach
- Fixed import paths to use direct imports instead of relative imports
- Added debug logging for better troubleshooting
- Simplified node registration process
- Fixed utils.js export issue

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-01 07:33:02 +00:00
Ruben Villarreal 9a05c3435f Initial commit: ComfyUI PoseAlign node 2025-07-31 19:17:08 -07:00