diff --git a/examples/hailo/detect.py b/examples/hailo/detect.py index 4297c59d..d464cde2 100755 --- a/examples/hailo/detect.py +++ b/examples/hailo/detect.py @@ -78,4 +78,4 @@ def draw_objects(request): results = hailo.run(frame) # Extract detections from the inference results - detections = extract_detections(results[0], video_w, video_h, class_names, args.score_thresh) + detections = extract_detections(results, video_w, video_h, class_names, args.score_thresh)