remove-bg icon indicating copy to clipboard operation
remove-bg copied to clipboard

The picture cannot be opened after setting the color

Open blueskywwc opened this issue 4 years ago • 3 comments

from removebg import RemoveBg rmbg = RemoveBg("CYoE87mDaDA9jcb3nKSHG5c7", "error.log") # 引号内是你获取的API rmbg.remove_background_from_img_file("bus.jpg",bg_color="green") #图片地址

The code can be executed, but the generated picture cannot be opened, how to solve it, thank you!

blueskywwc avatar Nov 11 '20 06:11 blueskywwc

Which version of remove-bg are you using? Also, please censor your API key.

Weathercold avatar Nov 11 '20 17:11 Weathercold

Aside from censoring your API key, I would recommend refreshing your API key

brilam avatar Nov 11 '20 22:11 brilam

Which version of remove-bg are you using? Also, please censor your API key.

i think this project is deprecated, because removebg now use the new API

hotsmile avatar Jul 18 '22 08:07 hotsmile