Skip to content

Instantly share code, notes, and snippets.

@flyisland
Created March 26, 2023 08:23
Show Gist options
  • Save flyisland/c2df278723549738cc69e06751010b86 to your computer and use it in GitHub Desktop.
Save flyisland/c2df278723549738cc69e06751010b86 to your computer and use it in GitHub Desktop.
完美去背景
rom rembg import remove
from PIL import Image
input = Image.open('1.png')
output = remove(input)
output.save('output.png')
@flyisland
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment