Optimize support

This commit is contained in:
justuser31 2023-04-23 21:07:56 +03:00
parent 0263b7bc6f
commit 5d6923aaf6
2 changed files with 25 additions and 21 deletions

View File

@ -115,12 +115,19 @@ for x, y, color in result_list:
#new_img.show()
new_img.show()
from bot import *
from remove_back import *
print("\nOptimize image?")
a = input("(Y/N) : ")
if a.lower() == 'y':
res_list = optimize(res_list)
print("\nCheck image.")
print("Upload image?")
a = input("(Y/N) : ")
if a.lower() == 'y':
draw(res_list)

File diff suppressed because one or more lines are too long