Spaces:
Runtime error
Runtime error
Commit History
-
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: 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
-
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