python 图片去背景

from  rembg import remove
from PIL import Image
input_path="tuurenwu.png"
out="mca.png"
input=Image.open(input_path)
outa=remove(input)
outa.save(out)

 

posted @ 2023-03-21 07:15  myrj  阅读(103)  评论(0编辑  收藏  举报