def METHOD_NAME(
    num_objects_detect,
    score_thresh,
    scores,
    boxes,
    classes,
    im_width,
    im_height,
    image_np,
):
    """asdfa"""
    for i in range(num_objects_detect):
        if scores[i] > score_thresh:
            (left, right, top, bottom) = (
                boxes[i][1] * im_width,
                boxes[i][3] * im_width,
                boxes[i][0] * im_height,
                boxes[i][2] * im_height,
            )
            p1 = (int(left), int(top))
            p2 = (int(right), int(bottom))
            cv2.rectangle(image_np, p1, p2, (0, 255, 0), 3, 1)
            cv2.putText(
                image_np,
                "confidence: " + str(f"{scores[i]:.2f}"),
                (int(left), int(top) - 20),
                cv2.FONT_HERSHEY_SIMPLEX,
                0.5,
                (0, 255, 0),
                2,
            )