def METHOD_NAME(name, frame):
    global detections, labelMap
    import cv2
    import numpy as np
    color = (255, 0, 0)
    for detection in detections:
        box = (detection.xmin, detection.ymin, detection.xmax, detection.ymax)
        normVals = np.full(len(box), frame.shape[0])
        normVals[::2] = frame.shape[1]
        bbox = (np.clip(np.array(box), 0, 1) * normVals).astype(int)            
        # bbox = frameNorm(frame, (detection.xmin, detection.ymin, detection.xmax, detection.ymax))
        cv2.putText(frame, labelMap[detection.label], (bbox[0] + 10, bbox[1] + 20), cv2.FONT_HERSHEY_TRIPLEX, 0.5, 255)
        cv2.putText(frame, f"{int(detection.confidence * 100)}%", (bbox[0] + 10, bbox[1] + 40), cv2.FONT_HERSHEY_TRIPLEX, 0.5, 255)
        cv2.putText(frame, f"{detection.label} {int(detection.confidence * 100)}%", (120, 120), cv2.FONT_HERSHEY_TRIPLEX, 0.5, 255)
        cv2.rectangle(frame, (bbox[0], bbox[1]), (bbox[2], bbox[3]), color, 2)
    # Show the frame
    import cv2
    cv2.imshow(name, frame)