def draw_boxes(image, boxes, labels, obj_thresh):
    for box in boxes:
        label_str = ''
        label = (- 1)
        for i in range(len(labels)):
            if (box.classes[i] > obj_thresh):
                label_str += labels[i]
                label = i
                print((((labels[i] + ': ') + str((box.classes[i] * 100))) + '%'))
        if (label >= 0):
            cv2.rectangle(image, (box.xmin, box.ymin), (box.xmax, box.ymax), (0, 255, 0), 3)
            cv2.putText(image, ((label_str + ' ') + str(np.format_float_positional(box.get_score(), precision=2))), (box.xmin, (box.ymin - 13)), cv2.FONT_HERSHEY_SIMPLEX, (0.001 * image.shape[0]), (0, 255, 0), 2)
    return image
def draw_boxes(image, boxes, labels, obj_thresh):
    for box in boxes:
        label_str = 
        label = (- 1)
        for i in range(len(labels)):
            if (box.classes[i] > obj_thresh):
                label_str += labels[i]
                label = i
                print((((labels[i] + ': ') + str((box.classes[i] * 100))) + '%'))
        if (label >= 0):
            cv2.rectangle(image, (box.xmin, box.ymin), (box.xmax, box.ymax), (0, 255, 0), 3)
            cv2.putText(image, ((label_str + ' ') + str(np.format_float_positional(box.get_score(), precision=2))), (box.xmin, (box.ymin - 13)), cv2.FONT_HERSHEY_SIMPLEX, (0.001 * image.shape[0]), (0, 255, 0), 2)
    return image