Commit Graph
10 Commits
Author SHA1 Message Date
gear_machineandClaude 2f49f45aff Fix ProportionChanger Ultimate canvas size scaling issue
- Fix double scaling bug when target and reference images have different canvas sizes
- Remove redundant canvas scaling from proportion processing
- Coordinate conversion functions already handle canvas size differences automatically
- Resolves issue where 512x512 reference → 1024x1024 target produced coordinates outside canvas bounds
- Add test directory to .gitignore for development testing

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-17 07:46:04 +09:00
gear_machineandClaude 142f043a63 Fix import structure: resolve nodes.py/nodes/ directory naming conflict
- Rename nodes/ directory to proportion_changer/ following ComfyUI conventions
- Update __init__.py to use simple relative imports instead of importlib.util
- Fix nodes.py imports to reference .proportion_changer instead of .nodes
- Resolve ImportError caused by Python module vs package name collision
- Follow established ComfyUI custom node patterns (similar to adv_control/)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-17 05:44:00 +09:00
gear_machineandClaude 37069cabca Add complete DWPose keypoint structure documentation to source code
- Update apply_proportion_changes() docstring with foot keypoints reference
- Document correct mapping: 19=LToe, 20=RToe, 21=LHeel, 22=RHeel
- Fix keypoint numbering confusion discovered during Issue009 resolution

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-16 22:19:47 +09:00
gear_machineandClaude 63f168654b Fix ProportionChanger Ultimate DWPose Detector: complete proportion algorithm port
- Port complete proportion changing algorithm from WanVideoWrapper original
- Replace simplified scaling with full body part-by-part proportion adjustment
- Add advanced face scaling with ear-distance based X/Y independent scaling
- Implement face nose-to-body nose precise alignment
- Add 280+ lines of detailed body part adjustments (neck, shoulders, arms, head, legs)
- Fix face positioning issues and scale accuracy
- Ensure reference proportion is fully applied (3-head → 3-head exact)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-16 21:56:25 +09:00
gear_machineandClaude a53f6e8489 Implement ProportionChangerDWPoseRender node with 25-point support
- Add new DWPose render node with toe keypoint visualization
- Fix coordinate offset alignment in Ultimate DWPose Detector
- Implement smart coordinate system detection (normalized vs pixel)
- Use WanVideo DWPose coordinate convention for correct bone angles
- Support ultimate-openpose-render compatible parameters plus show_feet
- Resolve coordinate misalignment issues for proper pose display

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-16 20:06:50 +09:00
gear_machineandClaude 23e1458d32 Fix PoseKeypointPreview widget persistence and standalone execution
- Add unique_id and extra_pnginfo parameters for workflow persistence
- Implement Show Text-style workflow updating to preserve JSON data across reloads
- Add OUTPUT_NODE = True to enable standalone execution without downstream nodes
- Fix onConfigure to skip pretty_format widget value and only display JSON data
- Resolve "true" string display issue on page reload

Now PoseKeypointPreview works like Show Text:
- Displays without requiring downstream nodes
- Preserves JSON content across browser reloads
- Properly handles widget state management

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-16 18:50:09 +09:00
gear_machineandClaude f8a8634676 Fix pose_keypoint preview widget management
- Preserve pretty_format widget when updating display
- Prevent duplicate JSON display widgets on multiple runs
- Keep only first widget (pretty_format) and replace display content

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-16 18:24:26 +09:00
gear_machineandClaude 8cb0eab0d4 Add POSE_KEYPOINT utility nodes with UI display support
- Add pose_keypoint input node for JSON to POSE_KEYPOINT conversion
- Add pose_keypoint preview node with read-only text display
- Implement JavaScript frontend for text widget display
- Support toe keypoints (19-24) in normalized coordinate format
- Update module structure to support web assets

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-16 18:00:29 +09:00
gear_machineandClaude dfa297c6a2 Fix DWPose Detector for POSE_KEYPOINT: resolve people: [] issue
- Fixed confidence values from 0.0 to 1.0 in dwpose_format_to_pose_keypoint()
- Changed coordinate conversion from normalized (1.0, 1.0) to pixel coordinates (width, height)
- Removed excessive logging that was cluttering output
- Simplified detection logic to use high-level DWPose API like working UniAnimate version
- Now properly outputs pose keypoints with valid confidence values for rendering

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-16 16:48:43 +09:00
gear_machine f76dd0c325 Initial commit: ProportionChanger ComfyUI custom node
- Rename WanVideoUniAnimateDWPoseDetector to
  ProportionChangerUniAnimateDWPoseDetector
  - Update category from "WanVideoWrapper" to "ProportionChanger"
  - Update display name to "ProportionChanger UniAnimate DWPose Detector"
  - Remove unused WanVideoUniAnimatePoseInput node
  - Add development gitignore and example_workflows structure

  Based on kijai's WanVideoWrapper - adapted for body proportion changing.
2025-08-16 12:37:26 +09:00