Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ if not os.path.exists("results"):
|
|
15 |
def infer(img):
|
16 |
#img = ImageOps.contain(img, (700, 700))
|
17 |
width, height = img.size
|
18 |
-
res=np.ones_like(img.
|
19 |
print(img.shape)
|
20 |
print(width)
|
21 |
img.save("./data/data.png")
|
|
|
15 |
def infer(img):
|
16 |
#img = ImageOps.contain(img, (700, 700))
|
17 |
width, height = img.size
|
18 |
+
res=np.ones_like(img.size)
|
19 |
print(img.shape)
|
20 |
print(width)
|
21 |
img.save("./data/data.png")
|