I receive the above error rather frequently on this line: > cv2.rectangle(frame, (x1, y1), (x2, y2), classes_box_colors[i], 2)