Spaces:
Runtime error
Runtime error
Commit History
-
feat(issue-045): Canvas aspect sync + data scaling + export fixes\n\n- Canvas display follows output aspect (long-side 640)\n- Align poseData resolution to output form on load\n- Keep JS->Python resolution sync; fix background fit\n- Export uses declared resolution; safe fallback\n\nClose: issue_045_キャンバスサイズ動的更新機能実装.md
ac4b077 -
fix(044): hand rect edit stability
- Use keypoint BBox as transform refRect (canvas coords) - Unify resolution source (metadata.resolution → resolution → 512) - Clamp relative ratios to 0–1 to avoid overshoot/flip - Convert rect move delta from canvas→data coords - Remove wrong ‘hands are canvas coords’ assumption - Gate debug logs via window.poseEditorDebug Hands’ resize now follows direction/amount like face ✅🖐️521c583 -
fix: JSONロード時の手・顔表示設定無視問題を完全解決
- JavaScript側でDOM安定化を確実に待機(setTimeout 200ms) - 描画前にチェックボックス状態を直接取得・同期するフォールバック機能 - JSONアップロード時にpeople形式とbodies形式の両方を含むハイブリッドデータ形式を採用 - テンプレート読み込み・JSONアップロード・通常描画全てで表示設定が確実に反映 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>d137fc4 -
fix: つま先キーポイントの左右順番を正しい仕様に修正
- 18番: Right Big Toe (右つま先)、19番: Left Big Toe (左つま先) に統一 - BODY_CONNECTIONSの接続を修正: 右足首→右つま先、左足首→左つま先 - 全テンプレートファイル(2-7頭身)のつま先座標を左右入れ替え - DWPose標準仕様への完全準拠を達成 - issue_042完全解決 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>19c388d
-
feat: 通知機能の改善
- 通知設定に情報通知の表示時間とエラー通知の表示時間を追加 - 成功通知、警告通知、エラー通知の各関数で表示時間を設定65c2919
-
feat: テンプレート選択機能の改善と手動更新方式の実装
- CLAUDE.md: - テンプレート選択機能を改善し、ドロップダウンを「3頭身立ちポーズ」に集約 - 「🔄 ポーズ更新」ボタンを追加し、手動更新方式に変更 - 3heads.jsonファイルを直接活用するテンプレート読み込み機能を実装 - Python側でpeople形式とbodies形式のハイブリッドデータ構造を採用 - JavaScript側でテンプレート読み込み時の表示設定強制同期を実装 - 体・手・顔の全データが初期表示から正常に描画される仕組みを完成 - app.py: - デバッグ用の手データ確認コードを削除し、コードをクリーンアップ - pose_editor.js: - 手データのデバッグログを削除し、コードをクリーンアップ8c08729 -
feat: Enhance pose editor with improved hand data logging and template selection functionality
- Added detailed logging for hand data preparation and drawing in pose_editor.js. - Implemented a new template selection feature that consolidates multiple templates into one with a manual update button. - Introduced a new JSON file (3heads.json) containing pose data for 3-headed characters. - Updated poses.json to include structured pose data for 2-head and 3-head characters. - Improved error handling and user experience during template loading and pose updates.8de0c20 -
feat: 詳細モードのキーポイント直接編集機能を実装
- CLAUDE.mdに座標系の重要性を追加 - 詳細モードでのキーポイント個別ドラッグ編集機能を実装 - Canvas座標とデータ座標の変換処理を正確に実装 - チェックボックスとラジオボタンの監視機能を強化し、編集モードの切り替えをリアルタイムで反映 - キーポイントの検索機能を詳細モードに対応させ、手・顔・体の個別編集を可能に1c1d010 -
feat: 背景画像表示機能の実装とJavaScript統合の安定化
- CLAUDE.md: 背景画像表示機能の実装状況を更新し、JavaScriptの不安定性に関する情報を追加 - app.py: 画像アップロード時に背景画像をポーズデータに含める処理を追加し、JavaScriptファイルの読み込み時にエラーハンドリングを実装 - pose_editor.js: 背景画像が含まれている場合の処理を追加し、デバッグログを強化7bde0cd -
feat: 表示設定のリアルタイム更新機能を実装
- CLAUDE.mdに最近完了した課題のセクションを追加 - app.pyで表示設定変更時のJavaScriptコードを修正し、直接監視機能を実装 - pose_editor.jsにチェックボックス監視機能を追加し、手と顔の表示設定をリアルタイムで更新d9350e1 -
feat: Enhance pose image export functionality with timestamped filenames and improved drawing logic
- Added a new function `get_timestamp_filename` to generate filenames with timestamps. - Updated `export_pose_as_image` to support drawing hands and faces based on new data structures. - Improved body drawing logic to adhere to the new refs format. - Enhanced hand and face drawing functions to include coordinate normalization. - Added detailed debug logging for better traceability during image export. - Removed redundant success notifications, allowing app.py to handle them.4b1e46e
-
feat: デバッグログの出力制御を改善
- 重要なログメッセージのみを出力するようにdebugLog関数を修正 - 不要なデバッグログを削除し、コードの可読性を向上 - 矩形編集やドラッグイベントに関連する重要なログメッセージを保持68887f8 -
feat: 編集モードの改善と矩形描画の最適化
- 編集モード終了時にGradioに編集結果を送信する機能を追加 - 矩形位置を保持したまま再描画するように変更 - 編集済みキーポイントから手と顔の矩形を計算するロジックを追加8ae5517 -
Refactor code structure for improved readability and maintainability
fed3109 -
feat: ドラッグ機能の追加とエラーハンドリングの改善
- poseEditorGlobalsにposeDataを追加 - ドラッグ状態の管理を改善し、draggedKeypointを使用 - setupDragEvents関数を実装し、マウスイベントを設定 - キーポイントの位置更新機能を強化 - drawPoseおよびdrawBody関数にハイライト機能を追加 - グローバルposeDataの更新を確実に行うよう修正77a58be -
feat: Add DWPose model management and error handling utilities
- Implemented DWPoseManager for model downloading and initialization. - Created error handling utilities including custom exceptions and a unified error handler. - Developed export utilities for exporting pose data as images and JSON. - Added image processing utilities for handling uploaded images and resizing. - Introduced notification utilities for user feedback on operations. - Implemented pose processing utilities for initializing and detecting poses safely.4555cad