9 Commits
Author SHA1 Message Date
grmchn cd5af99868 Add separate limb scaling controls 2026-05-08 18:53:13 +09:00
grmchn d3d8dc648b Update mascot pose model URLs 2026-05-03 01:35:01 +09:00
grmchn 3f3fcf3a28 Add PoseData to pose_keypoint converter node 2025-12-13 15:10:42 +09:00
gear_machineandClaude 5777eeac20 Improve error handling and reduce verbose logging across KeyPoint processing nodes
- Enhanced error handling with specific exception types in detector and interpolation nodes
- Reduced verbose console output in KeyPoint Denoiser components for cleaner operation
- Improved coordinate validation and array bounds checking in detector nodes
- Translated comments to English in params node for consistency
- Maintained core functionality while improving user experience

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-28 06:58:02 +09:00
gear_machineandClaude 77be25d936 Reorganize ProportionChanger Params UI layout for better UX
- Reorder parameters in anatomical sequence: body→face→hand→global
- Group body keypoints from head to legs (head→neck→shoulder→arm→torso→pelvis→leg)
- Group face keypoints from top to bottom (face_shape→eyebrow→eye→nose→mouth)
- Move face_shape_scale to top of face section as requested
- Clarify that eye_distance_scale belongs to face keypoints, not body
- Add clear section comments for better organization

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-22 11:01:33 +09:00
gear_machineandClaude b362e0f7ca Complete WanVideo pose_extract algorithm port with advanced face processing (Issue022)
Major improvements to ProportionChanger Reference node:

**WanVideo Algorithm Complete Port:**
- Implement all 15-section proportion calculations (neck, shoulders, arms, head, legs)
- Fix neck fixed movement issue with unified ratio calculation from first frame
- Add batch processing with consistent ratios across all frames
- Port noise reduction and correction processing from WanVideo

**Advanced Face Processing Integration:**
- Implement independent X/Y face scaling based on ear distance and face dimensions
- Add nose-to-chin height calculation for natural face proportions
- Perfect nose-to-nose alignment between body and face keypoints
- Fix face positioning issue (was aligned to chest/neck, now to nose)

**Technical Improvements:**
- Unified batch processing: calculate ratios from first frame, apply to all frames
- Complete final position offset implementation for frame consistency
- Enhanced canvas size scaling compatibility
- Robust fallback mechanisms for various keypoint configurations

Resolves neck movement issues, face scaling problems, and noise artifacts.
Face now perfectly aligns with body nose position across all frames.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-20 00:08:14 +09:00
gear_machineandClaude 518cdf1aca Fix eye scaling to use face keypoint centroid as origin (Issue015)
- Eye groups (Left_Eye, Right_Eye) now scale around their own face keypoint centroid
- Other face parts (eyebrow, mouth, nose) continue using nose tip as center
- Removed debug print statements for cleaner output
- Move Issue015 to closed folder

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-17 18:59:17 +09:00
gear_machineandClaude 081f9b3e6b Implement comprehensive toe/heel keypoint scaling with corrected indices
- Fix DWPose keypoint mapping based on actual data structure:
  - LHip: 8→11, RHip: 11→8
  - LKnee: 12→9, RKnee: 9→12
  - LAnkle: 13→10, RAnkle: 10→13
  - RBigToe: 18, LBigToe: 19
- Add ankle-based toe/heel scaling with natural leg proportion
- Implement hand keypoint following for wrist movement during arm scaling
- Clean up code comments to English and remove debug logs
- Update CLAUDE.md with correct keypoint indices and code comment policy

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-17 17:36:25 +09:00
gear_machineandClaude 63724bfb59 Implement ProportionChanger Params node for direct POSE_KEYPOINT editing
✨ Features:
- Direct pose keypoint manipulation without image rendering
- Body part scaling: pelvis, torso, neck, head, shoulders, arms, legs
- Face detail adjustments: eye distance, eye/eyebrow height and scaling, mouth, nose, face shape
- Hand scaling with wrist-based reference
- Global transformations: overall scale, rotation, translation

🔧 Technical Implementation:
- Independent transformation calculations to prevent parameter interference
- Deep copy protection to avoid memory reference sharing issues
- ComfyUI cache bypass with IS_CHANGED method
- Hierarchical transformation order: pelvis → torso → neck → shoulders → arms/legs/head
- OpenPose standard face keypoint group definitions

🐛 Bug Fixes:
- Fixed shoulder_scale + arm_scale interference (parameters now apply independently)
- Resolved memory reference sharing causing persistent changes across runs
- Fixed overall_scale not applying due to missing condition check
- Implemented proper face keypoint processing (was placeholder)

📦 Files Added:
- proportion_changer/params_node.py: Main ProportionChangerParams node implementation
- Updated nodes.py and __init__.py for proper node registration

🎯 Usage:
Input: POSE_KEYPOINT → ProportionChanger Params → Output: Modified POSE_KEYPOINT
Compatible with all other ProportionChanger nodes for chained processing

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-17 13:51:43 +09:00