# pip install rembg pillow
from rembg import remove
from PIL import Image
input_path = "in.png"
output_path = "out.png"
input = Image.open(input_path)
output = remove(input)
output.save(output_path)
https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net.onnx#code
🆔 @Python4all_pro
