Random_anna.mp4 -

indexes = cv2.dnn.NMSBoxes(boxes, confidences, 0.5, 0.4)

height, width, channels = frame.shape

cv2.imshow("Image", frame) if cv2.waitKey(1) & 0xFF == ord('q'): break random_anna.mp4

import cv2

# Load YOLO net = cv2.dnn.readNet("yolov3.weights", "yolov3.cfg") classes = [] with open("coco.names", "r") as f: classes = [line.strip() for line in f.readlines()] indexes = cv2