Spaces:
Runtime error
Runtime error
Commit
·
3a4ed0c
1
Parent(s):
574d3c5
no debug image save
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ def predict(inp):
|
|
66 |
cv2.putText(img, label + " " + conf_value, (x, y-10),
|
67 |
cv2.FONT_HERSHEY_COMPLEX, 1, (0, 255, 0), 2)
|
68 |
# return the images
|
69 |
-
cv2.imwrite("out.jpg", img)
|
70 |
|
71 |
img_rgb = img[...,::-1]
|
72 |
return img_rgb
|
|
|
66 |
cv2.putText(img, label + " " + conf_value, (x, y-10),
|
67 |
cv2.FONT_HERSHEY_COMPLEX, 1, (0, 255, 0), 2)
|
68 |
# return the images
|
69 |
+
# cv2.imwrite("out.jpg", img)
|
70 |
|
71 |
img_rgb = img[...,::-1]
|
72 |
return img_rgb
|