Python Resources TP
Python Code to remove Image Background
—————————————————————-
from rembg import remove
from PIL import Image
image_path = 'Image Name' ## ---> Change to Image name
output_image = 'ImageNew' ## ---> Change to new name your image
input = Image.open(image_path)
output = remove(input)
output.save(output_image)
How to Speed Up Python Code👇
https://t.me/pythonresourcestp/73
1 · 368 ·