Created
April 17, 2023 07:46
-
-
Save mahimairaja/cd6410a06e44ba6f32d5e77aa4d42cd3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pip install rembg | |
from PIL import Image | |
from rembg import remove | |
input = Image.open('mahimai.jpeg') | |
output = remove(input) | |
output.save('output.png') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment