Commit History
-
chore(setup): add model pre-download utility and CLI flag; update README usage
9b07278 -
fix: image-clear path returns full 5 outputs (Gradio validation)\n\n- on_image_upload(None) returns [json,json,html,number,number]\n- Prevents error when clicking the ❌ on image input\n\nRefs: issue #045 follow-up
ca0d0b1 -
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 -
improve: タイトルを英語に変更してグローバル対応向上
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>1aafb6a -
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 -
improve: ボタン名を「テンプレに更新」に変更してユーザビリティ向上
- テンプレート適用ボタンの名前をより分かりやすく変更 - 「ポーズ更新」→「テンプレに更新」で機能が明確に 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>f87a6e7 -
feat: JSONフォーマットをpeople形式に統一
- export_utils.py: export_pose_as_json()をpeople形式出力に変更 - app.py: JSON読み込み処理でpeople形式に対応 - 既存のbodies形式との互換性を維持 - canvas_width/canvas_heightをサポート - データ変換処理を簡素化してパフォーマンス向上 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>769b254
-
Add pose data for 6-head and 7-head character models
- Created `6heads.json` containing pose data for 6-head characters, including body, hand, and face coordinates. - Created `7heads.json` containing pose data for 7-head characters, with similar structure and details. - Both files include metadata such as format, version, export date, and descriptions.be7e89a -
feat: DWPoseエディターの説明文を改善
- DWPoseエディターのタイトルを「キャラクターOpenPoseエディター」に変更 - 説明文を「2頭身・3頭身キャラクター向けのOpenPose・DWPoseのポーズ編集ツール」に修正 - 入力設定の見出しを「入力」に変更3a72782 -
feat: DWPoseエディターのタイトルと説明を日本語に変更
- タイトルを「キャラクターOpenPose・DWPoseエディター」に変更 - 説明文を「2頭身・3頭身キャラクター向けのポーズ編集ツール」に変更58ca46d -
feat: キャンバスサイズ設定の改善と通知設定の調整
- app.py: 顔描画のデフォルト設定を無効にし、キャンバスサイズ設定を出力サイズ設定に移動 - app.py: エクスポート画像関数にキャンバス幅と高さの引数を追加 - notifications.py: 通知の自動消去タイムアウトを3000msから1500msに変更7ae5bb0 -
feat: Implement perfect head proportion dataset for 2-6 heads
- Added 7heads.json containing accurate pose data for 2-6 head proportions. - Updated CLAUDE.md to reflect completion of head proportion calculations and dataset. - Enhanced app.py to support selection of various head proportion templates. - Created issue documentation for proper head proportion calculations and completed implementation. - Documented technical achievements and quality assurance for the new dataset.9cfc374
-
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: 背景画像表示機能の実装とJavaScript統合の安定化
- CLAUDE.md: 背景画像表示機能の実装状況を更新し、JavaScriptの不安定性に関する情報を追加 - app.py: 画像アップロード時に背景画像をポーズデータに含める処理を追加し、JavaScriptファイルの読み込み時にエラーハンドリングを実装 - pose_editor.js: 背景画像が含まれている場合の処理を追加し、デバッグログを強化7bde0cd -
feat: 表示設定のリアルタイム更新機能を実装
- CLAUDE.mdに最近完了した課題のセクションを追加 - app.pyで表示設定変更時のJavaScriptコードを修正し、直接監視機能を実装 - pose_editor.jsにチェックボックス監視機能を追加し、手と顔の表示設定をリアルタイムで更新d9350e1 -
feat: 画像ダウンロード同期問題の完全解決とグローバル変数の整合性修正
- app.py: - グローバル変数 `_current_pose_data` を追加し、レガシー互換性を確保 - `export_image` 関数を修正し、グローバル変数を `_current_poses` に統一 - `export_json` 関数を修正し、people形式からbodies.candidate形式への変換を実装 - `on_json_upload` 関数を修正し、bodies.candidateからpeople形式への変換を実装 - ダウンロードボタンの表示を最適化し、成功時のみファイルリンクを表示cec6ef6 -
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
-
Refactor code structure for improved readability and maintainability
fed3109 -
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