{"id":17908129,"url":"https://github.com/huchenlei/sd-webui-openpose-editor","last_synced_at":"2025-10-24T16:53:29.557Z","repository":{"id":162390909,"uuid":"634344068","full_name":"huchenlei/sd-webui-openpose-editor","owner":"huchenlei","description":"Openpose editor for ControlNet. Full hand/face support.","archived":false,"fork":false,"pushed_at":"2024-06-20T22:18:11.000Z","size":8690,"stargazers_count":752,"open_issues_count":14,"forks_count":79,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-10-04T16:41:06.533Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/huchenlei.png","metadata":{"files":{"readme":"README.ja.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"huchenlei","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-04-29T20:17:34.000Z","updated_at":"2025-10-04T14:18:35.000Z","dependencies_parsed_at":"2023-11-21T03:31:40.513Z","dependency_job_id":"69cdf4fe-7f4a-4b49-acb3-2857e6911982","html_url":"https://github.com/huchenlei/sd-webui-openpose-editor","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/huchenlei/sd-webui-openpose-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huchenlei%2Fsd-webui-openpose-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huchenlei%2Fsd-webui-openpose-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huchenlei%2Fsd-webui-openpose-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huchenlei%2Fsd-webui-openpose-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huchenlei","download_url":"https://codeload.github.com/huchenlei/sd-webui-openpose-editor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huchenlei%2Fsd-webui-openpose-editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280833006,"owners_count":26398970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T19:14:37.333Z","updated_at":"2025-10-24T16:53:29.539Z","avatar_url":"https://github.com/huchenlei.png","language":"Vue","funding_links":["https://ko-fi.com/huchenlei"],"categories":["Vue"],"sub_categories":[],"readme":"# Stable Diffusion WebUIのためのControlNet内Openposeエディタ\nこの拡張機能は、特にStable Diffusion WebUIのControlNet拡張機能に統合するために開発されました。\n\n![editor_in_modal](/readme_assets/editor_in_modal.png)\n\n# 前提条件\n[ControlNet](https://github.com/Mikubill/sd-webui-controlnet) `1.1.216`以上が必要です。\n\n# インストール\nControlNet拡張v1.1.411から、ユーザーはこの拡張をローカルにインストールする必要はありません。ControlNet拡張は、ローカルのエディタのインストールが検出されない場合、https://huchenlei.github.io/sd-webui-openpose-editor/ というリモートエンドポイントを使用します。インターネット接続が不安定、またはgithub.ioドメインへの接続に問題がある場合は、ローカルインストールを推奨します。\n\n## ローカルインストール\n![installation_guide](/readme_assets/install_guide.png)\n![restart_ui_guide](/readme_assets/restart_ui_guide.png)\n\nUI再起動時、拡張機能はコンパイル済みのVueアプリをGithubからダウンロードしようとします。`stable-diffusion-webui\\extensions\\sd-webui-openpose-editor\\dist`が存在し、中に内容があるかどうかを確認してください。\n\n中国の一部のユーザーは、autoupdateスクリプトでdistのダウンロードに問題があると報告しています。そのような状況では、ユーザーは次の2つのオプションからdistを手動で取得することができます：\n\n### オプション1：アプリケーションのビルド\nnodeJS環境が準備できていることを確認し、`Development`セクションに従ってください。アプリケーションをコンパイルするために`npm run build`を実行します。\n\n### オプション2：コンパイル済みアプリケーションのダウンロード\n[リリース](https://github.com/huchenlei/sd-webui-openpose-editor/releases)ページからコンパイル済みアプリケーション（`dist.zip`）をダウンロードできます。リポジトリのルートでパッケージを解凍し、解凍したディレクトリが`dist`という名前であることを確認してください。\n\n# 使用法\nOpenposeエディタのコアはVue3で構築されています。Gradio拡張スクリプトは、`/openpose_editor_index`上にVue3アプリケーションをマウントする薄いラッパーです。\n\n必要であれば、ユーザーは`localhost:7860/openpose_editor_index`でエディタに直接アクセスできますが、主なエントリーポイントはControlNet拡張機能内でエディタを呼び出すことです。ControlNet拡張機能で、任意のopenpose前処理器を選択し、前処理器実行ボタンを押します。前処理結果のプレビューが生成されます。生成された画像の右下隅の`編集`ボタンをクリックすると、モーダル内にopenposeエディタが表示されます。編集後、`ControlNetにポーズを送信`ボタンをクリックすると、ポーズがControlNetに送り返されます。\n\n以下のデモは基本的なワークフローを示しています：\n\u003c!-- https://youtu.be/WEHVpPNIh8M --\u003e\n[![基本的なワークフロー](http://img.youtube.com/vi/WEHVpPNIh8M/0.jpg)](http://www.youtube.com/watch?v=WEHVpPNIh8M)\n\n# 特長\n1. controlnetで使用される顔/手のサポート。\n    - 拡張機能はcontrolnetの前処理結果で顔/手のオブジェクトを認識します。\n    - ユーザーは、前処理結果がそれらを欠落している場合に顔/手を追加することができます。これは以下のどちらかで行うことができます。\n        - デフォルトの手を追加する（顔はキーポイントが多すぎる（70キーポイント）ため、手動でそれらを調整することは非常に困難なため、サポートされていません。）\n        - ポーズJSONをアップロードしてオブジェクトを追加する。最初の人の対応するオブジェクトが使用されます。\n1. 可視性の切り替え\n    - キーポイントがControlNet前処理器に認識されない場合、その座標は`(-1, -1)`になります。このような無効なキーポイントはエディタで不可視に設定されます。\n    - ユーザーがキーポイントを不可視に設定し、ポーズをcontrolnetに戻すと、キーポイントが接続する肢節はレンダリングされません。実質的に、これがエディタで肢節を削除する方法です。\n1. グループ切り替え\n    - キャンバスオブジェクト（手/顔/体）のキーポイントを誤って選択して変更することを避けたい場合、それらをグループ化できます。グループ化されたオブジェクトは一つのオブジェクトのように動作します。グループを拡大、回転、歪ませることができます。\n\n\n# Development\n## Recommended IDE Setup\n\n[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).\n\n## Type Support for `.vue` Imports in TS\n\nTypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.\n\nIf the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:\n\n1. Disable the built-in TypeScript Extension\n    1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette\n    2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`\n2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.\n\n## Customize configuration\n\nSee [Vite Configuration Reference](https://vitejs.dev/config/).\n\n## Project Setup\n\n```sh\nnpm install\n```\n\n### Compile and Hot-Reload for Development\n\n```sh\nnpm run dev\n```\n\n### Type-Check, Compile and Minify for Production\n\n```sh\nnpm run build\n```\n\n### Run Unit Tests with [Vitest](https://vitest.dev/)\n\n```sh\nnpm run test:unit\n```\n\n### Lint with [ESLint](https://eslint.org/)\n\n```sh\nnpm run lint\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuchenlei%2Fsd-webui-openpose-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuchenlei%2Fsd-webui-openpose-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuchenlei%2Fsd-webui-openpose-editor/lists"}