Spaces:
Runtime error
Runtime error
Commit History
-
chore(gradio): pin to 5.31.0 and align Spaces sdk_version
372691d -
chore(setup): add model pre-download utility and CLI flag; update README usage
9b07278 -
docs(README): Spaces向けの使い方を追加し、使用方法→起動方法へ変更。文体をです・ます調に統一 📝
50b4cf7 -
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 -
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 -
improve: タイトルを英語に変更してグローバル対応向上
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>1aafb6a -
fix: 画像ダウンロード時のつま先接続線左右順番を統一修正
- export_utils.pyの接続定義をJavaScript側と統一 - [13, 18], [10, 19] に修正(右足首→右つま先、左足首→左つま先) - issue_042での修正がPython側に反映されていなかった問題を解決 - 画像ダウンロード時につま先線がクロスしていた問題を完全修正 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>d4e215e -
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: DWPose推定時のつま先左右順番を正しい仕様に統一
- 左つま先(18番): DWPose 18+19番平均(左足のつま先) - 右つま先(19番): DWPose 21+22番平均(右足のつま先) - 画像アップロード時のDWPose推定でつま先線がクロスしていた問題を解決 - テンプレートデータとDWPose推定結果の左右統一を完全実現 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>df265e8 -
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 -
fix: つま先線表示問題を解決するためpose_keypoints_2d配列に25キーポイント対応パディングを実装
- export_utils.pyにて20個キーポイントから25個キーポイントへの自動パディング機能を追加 - people形式とbodies形式の両方でパディング処理を実装 - 他のDWPoseツールでのつま先線表示互換性を向上 - issue_042対応完了 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>c3b6536 -
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
-
feat: .gitignoreに開発・ドキュメント関連のファイルを追加
- docs/ - development_tests/ - issues/ - CLAUDE.md - .claude/c63ce19 -
feat: 通知機能の改善
- 通知設定に情報通知の表示時間とエラー通知の表示時間を追加 - 成功通知、警告通知、エラー通知の各関数で表示時間を設定65c2919
-
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: 詳細モードのキーポイント直接編集機能を実装
- 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: 画像ダウンロード同期問題の完全解決とグローバル変数の整合性修正
- app.py: - グローバル変数 `_current_pose_data` を追加し、レガシー互換性を確保 - `export_image` 関数を修正し、グローバル変数を `_current_poses` に統一 - `export_json` 関数を修正し、people形式からbodies.candidate形式への変換を実装 - `on_json_upload` 関数を修正し、bodies.candidateからpeople形式への変換を実装 - ダウンロードボタンの表示を最適化し、成功時のみファイルリンクを表示cec6ef6 -
feat: Canvas編集データの完全同期修正とデータ保護機能の強化
- 完全解決済みステータスに更新し、全ての問題が修正されたことを明記 - gradioCanvasUpdate関数でのpeople形式の保護機能を追加 - baseOriginalKeypointsの誤削除を防ぐための保護システムを実装 - people形式アクセスを統一し、手・顔データの保持を強化 - export_utils.pyでの画像生成ロジックを修正し、両形式に対応 - JavaScriptとPython間のデータ同期を完全に実現33db362 -
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: ダウンロードボタンの動作修正と表示設定の反映
- 画像とJSONのダウンロードボタンを機能させるための実装を追加 - 表示設定(手・顔の表示チェック)を画像に反映する処理を追加 - GradioのFileコンポーネントを使用してダウンロード機能を実装 - ダウンロード失敗時のエラーハンドリングを追加6014789 -
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
-
feat: 実装計画ドキュメントを追加
- dwpose-editorプロジェクトの実装順序と各フェーズの目標を定義した実装計画を新規作成 - 各フェーズの目標、順序、内容、推定工数を詳細に記載 - 完了条件や重要な実装ポイント、次のステップについても明記e88eb81 -
Implement various features for pose editing application
- Add checkbox functionality to toggle hand drawing visibility. - Implement checkbox functionality to toggle face drawing visibility. - Create simple mode with rectangle selection for hands and faces. - Enable detailed mode for individual editing of keypoints. - Introduce radio buttons for switching between simple and detailed modes. - Implement canvas resolution adjustment feature. - Add functionality to load template poses from JSON. - Enable export of pose images as PNG files. - Implement export of pose data in JSON format. - Integrate comprehensive error handling throughout the application. - Implement Gradio toast notifications for user feedback.61d9491
-
initial commit
Verified signaturee96c9e5