added setup.sh and minor fix
This commit is contained in:
parent
dfc970393a
commit
2d833b3566
2
main.py
2
main.py
@ -35,7 +35,7 @@ for i in os.listdir(convert_png):
|
|||||||
if i.endswith('png'):
|
if i.endswith('png'):
|
||||||
img = Image.open(convert_png + i)
|
img = Image.open(convert_png + i)
|
||||||
nobg_img = remove(img)
|
nobg_img = remove(img)
|
||||||
nobg_img.save(removed_background + i)q
|
nobg_img.save(removed_background + i)
|
||||||
|
|
||||||
|
|
||||||
print('Cropping to content..')
|
print('Cropping to content..')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user