Skip to content
/ posex Public

Posex - Estimated Image Generator for Pose2Image

Notifications You must be signed in to change notification settings

hnmr293/posex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Posex - Estimated Image Generator for Pose2Image

cover

Quick Start with Web UI

  1. Install Mikubill/sd-webui-controlnet.
  2. Install Posex (this).
  3. Open Posex accordion in t2i tab (or i2i as you like). Enable Send this image to ControlNet checkbox. Editor will appear.
  4. Configure ControlNet as below.
Preprocessor: none
Model: control_sd15_openpose
  1. Make pose.
  2. Generate images.

How to use

Click:      select body
Left Drag:  move joint (on joint)
            rotate camera (otherwise)
Right Drag: move whole body (if selected)
            move camera (otherwise)
Wheel:      zoom

Installation

  • Web UI Extension
  • Online (Github Pages)
  • Standalone

Web UI Extension

Prerequirement: You need to install Mikubill/sd-webui-controlnet to use Posex with ControlNet Pose2Img.

Go to Extensions tab, then select Install from URL tab and input https://github.com/hnmr293/posex.

Or move to extensions directory and type git clone https://github.com/hnmr293/posex.

In webui, open Posex accordion in txt2img or img2img tab, then click a checkbox. The canvas will be opened.

Online

See Github Pages.

https://hnmr293.github.io/posex

Standalone

$ pip install -r requirements.txt
$ python app.py

Then open localhost:55502 or 127.0.0.1:55502 in your browser.

Example

Web UI

sample 1:

sample

result:

sample result

sample 2:

sample 2

result:

sample 2 result

Standalone

sample

History

v0.3 -> v0.4 features

  • background setting
  • save/load pose
  • fixed camera roll

v0.2 -> v0.3 features

  • Web UI extension

v0.1 -> v0.2 features

  • copying the image to clipboard
  • multiple bodies
  • canvas size changing
  • UI has become ugly >_<;