huggingface / controlnet_aux

Apache License 2.0
400 stars 86 forks source link

When using openpose, what is the format of the input image? RGB format, or BGR format? #18

Open ZihaoW123 opened 1 year ago

ZihaoW123 commented 1 year ago

image image I saw that the image in BGR format is used as input in the open_pose/body.py file, but the huggingface demo uses a BGR format image. What is the impact of this?

patrickvonplaten commented 1 year ago

It should be RGB format, see example here: https://huggingface.co/lllyasviel/sd-controlnet-canny#example