danielHora commited on
Commit
c4f0af6
·
1 Parent(s): 4dd0b04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -28,10 +28,10 @@ def object_classify(img):
28
  index = 0
29
 
30
  # Draw bounding box for each result
31
- for bounding_box in bboxes:
32
  box = bboxes['box']
33
  #Draw the bounding box
34
- output_image = draw_bounding_box(img, bboxes['score'],
35
  box['xmin'], box['ymin'],
36
  box['xmax'], box['ymax'],
37
  index, num_boxes)
 
28
  index = 0
29
 
30
  # Draw bounding box for each result
31
+ for i in bboxes:
32
  box = bboxes['box']
33
  #Draw the bounding box
34
+ output_image = draw_bounding_box(img, bboxes['score'],bboxes['label'],
35
  box['xmin'], box['ymin'],
36
  box['xmax'], box['ymax'],
37
  index, num_boxes)