ethanrom commited on
Commit
159c90e
·
1 Parent(s): 6ce9669

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def detect_objects(frame):
56
 
57
  return detections
58
 
59
- def display_detections(input_image, output_image, detections):
60
  for det in detections:
61
  x1, y1, x2, y2, conf, detected_name = det
62
  color = colors.get(detected_name, (255, 255, 255))
 
56
 
57
  return detections
58
 
59
+ def display_detections(image, detections):
60
  for det in detections:
61
  x1, y1, x2, y2, conf, detected_name = det
62
  color = colors.get(detected_name, (255, 255, 255))