I am capturing my video using CV2 and defining the Region of interest in the video frame
cap = cv2.VideoCapture(0) image_np = cap.read() pts = np.array([[