Uminosachi / sd-webui-inpaint-anything

Inpaint Anything extension performs stable diffusion inpainting on a browser UI using masks from Segment Anything.
Apache License 2.0
1.03k stars 93 forks source link

Why use BGR images as input for segment anything? #149

Closed JI4JUN closed 1 month ago

JI4JUN commented 1 month ago

When I read the source code, I found that BGR images were used as input here. What is this for? Snipaste_2024-05-22_15-49-25 input_image

JI4JUN commented 1 month ago

my bad...cv2.imwrite is based on BGR