Ubuntu
commited on
Commit
·
14ca485
1
Parent(s):
72875a8
added log bounding boxes
Browse files
app.py
CHANGED
@@ -9,6 +9,7 @@ def detect_hotspots(image):
|
|
9 |
result = model(image)
|
10 |
|
11 |
for r in result:
|
|
|
12 |
im_array = r.plot()
|
13 |
# im = Image.fromarray(im_array[..., ::-1])
|
14 |
return Image.fromarray(im_array)
|
|
|
9 |
result = model(image)
|
10 |
|
11 |
for r in result:
|
12 |
+
print(r.boxes)
|
13 |
im_array = r.plot()
|
14 |
# im = Image.fromarray(im_array[..., ::-1])
|
15 |
return Image.fromarray(im_array)
|