Spaces:
Runtime error
Runtime error
Commit
·
cd643ec
1
Parent(s):
53cae8e
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ def object_classify(img):
|
|
| 30 |
for i in bboxes:
|
| 31 |
box = i['box']
|
| 32 |
#Draw the bounding box
|
| 33 |
-
output_image = draw_bounding_box(img,
|
| 34 |
box['xmin'], box['ymin'],
|
| 35 |
box['xmax'], box['ymax'],
|
| 36 |
index, num_boxes)
|
|
|
|
| 30 |
for i in bboxes:
|
| 31 |
box = i['box']
|
| 32 |
#Draw the bounding box
|
| 33 |
+
output_image = draw_bounding_box(img, i['score'],i['label'],
|
| 34 |
box['xmin'], box['ymin'],
|
| 35 |
box['xmax'], box['ymax'],
|
| 36 |
index, num_boxes)
|