Integrated openpose editor for ControlNet. Full hand/face support.
 
 
 
 
 
 
Go to file
huchenlei 9d7743f75e 🚧 Load canvas from frame mesasge 2023-05-25 23:52:28 -04:00
public 🎉 Initial commit 2023-05-03 20:08:54 -04:00
scripts 🚧 handle params from POST request 2023-05-18 00:21:46 -04:00
src 🚧 Load canvas from frame mesasge 2023-05-25 23:52:28 -04:00
.eslintrc.cjs 🎉 Initial commit 2023-05-03 20:08:54 -04:00
.gitignore 📝 ignore pyc 2023-05-10 22:01:58 -04:00
.prettierrc.json 🎉 Initial commit 2023-05-03 20:08:54 -04:00
LICENSE Initial commit 2023-04-29 16:17:35 -04:00
README.md 🎉 Initial commit 2023-05-03 20:08:54 -04:00
bad.json 🚧 Handle JSON parse exception and push to notification 2023-05-10 22:00:50 -04:00
env.d.ts 🎉 Initial commit 2023-05-03 20:08:54 -04:00
index.html 🚧 Mount app to WebUI 2023-05-17 22:23:11 -04:00
main.d.ts 🚧 handle params from POST request 2023-05-18 00:21:46 -04:00
output_pose.json 🚧 add coordinates display/edit 2023-05-07 18:36:24 -04:00
package-lock.json 🚧 Add visible switch 2023-05-05 23:48:14 -04:00
package.json 🚧 Add visible switch 2023-05-05 23:48:14 -04:00
pose.json 🚧 add coordinates display/edit 2023-05-07 18:36:24 -04:00
process_keypoints.py 🚧 add coordinates display/edit 2023-05-07 18:36:24 -04:00
test_post.py 🚧 Mount app to WebUI 2023-05-17 22:23:11 -04:00
tsconfig.app.json 🚧 handle params from POST request 2023-05-18 00:21:46 -04:00
tsconfig.json 🚧 Load canvas from frame mesasge 2023-05-25 23:52:28 -04:00
tsconfig.node.json 🎉 Initial commit 2023-05-03 20:08:54 -04:00
tsconfig.vitest.json 🎉 Initial commit 2023-05-03 20:08:54 -04:00
vite.config.ts 🚧 Mount app to WebUI 2023-05-17 22:23:11 -04:00
vitest.config.ts 🎉 Initial commit 2023-05-03 20:08:54 -04:00

README.md

sd-webui-openpose-editor

This template should help get you started developing with Vue 3 in Vite.

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Type Support for .vue Imports in TS

TypeScript 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) to make the TypeScript language service aware of .vue types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Run Unit Tests with Vitest

npm run test:unit

Lint with ESLint

npm run lint