Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def response(image):
|
|
28 |
cone = con.astype(float)
|
29 |
conef = round(cone,3)
|
30 |
conef = conef * 100
|
31 |
-
text += (f"Detected {name[cl]} with confidence {
|
32 |
|
33 |
|
34 |
# im_rgb = Image.fromarray(im_rgb)
|
|
|
28 |
cone = con.astype(float)
|
29 |
conef = round(cone,3)
|
30 |
conef = conef * 100
|
31 |
+
text += (f"Detected {name[cl]} with confidence {round(conef,1)}% at ({xy[0]},{xy[1]})\n")
|
32 |
|
33 |
|
34 |
# im_rgb = Image.fromarray(im_rgb)
|