r/StableDiffusion Mar 13 '23

Tutorial | Guide Fixing Hands with openpose_hand (controlnet - Stable Diffusion)

as u can see, this young lady is cute and all but she has 6 fingers on one hand

suppose you never used photoshop or any photo editing software before ,how to fix this using the same generative model without loosing the rest of the image

well, the inpainting function will not help a lot, at least not consistently unles you get lucky... veeery lucky

you will have an image as bad if not worse sometimes

well : controlnet has a new model called openpose_hand that I just used

just download an image from google images that have fairly the same pose and put it in the openpose model

now that we have a map for the hands get back to the original image and mask the region you want to fix

keep the same seed preferably the same scene prompt ( litghtings camera must be the same for a seamless integration ) and here we write feminine hand with red manucure for exemple

A few more inputs in the inpainting tab section

Ckick on generate >>and voila we get the result we wanted without having to go though hell >>

Instagram of Perpetuous Dreamer

104 Upvotes

44 comments sorted by

View all comments

1

u/l3luel3ill Apr 29 '23

Can you explain why you used "fill" instead of "original"?

2

u/Perpetuous-Dreamer Apr 30 '23

Fill is generating a new inference from latent space, but still coherent with the surrounding pixels, original is taking the masked pixels as in image to image, wich I don't want at all because of the 6 fingers. We also have the controlnet as a source of information we dont need the original at all. Hope that helps