huchenlei / sd-webui-openpose-editor

Openpose editor for ControlNet. Full hand/face support.
MIT License
666 stars 66 forks source link

Enhancement: Mirror Body #51

Closed Shanesan closed 1 year ago

Shanesan commented 1 year ago

Sometimes in odd poses, the body may be calculated by ControlNet to be inverted (the left objects are actually right objects and vice versa, like left shoulder is supposed to be the right shoulder).

Editing the JSON file to accommodate this is very tricky as the values are not tied to a human-readable variable. Can there be a "Mirror body" option?

huchenlei commented 1 year ago

Do you mean the preprocessor result has every pair of left/right keypoints wrong? Can you provide an example? As far as I know, dw_pose_full preprocessor is pretty reliable on detecting front/back side.

Shanesan commented 1 year ago

Sorry for the delay. That's correct, the preprocessor analyzed that the front was somehow the back (or vice versa) which reversed every bone.

I will have to remember which image I used for processing but when I remember I will add it.

huchenlei commented 1 year ago

Got it, so you are requesting adding a button at body level to swap every pair of keypoints all at once?

huchenlei commented 1 year ago

Feature implemented in v0.1.14.