docs: def get_capture_dimensions(capture):
      """Get the dimensions of a capture"""
      width = int(capture.get(cv2.CAP_PROP_FRAME_WIDTH))
      height = int(capture.get(cv2.CAP_PROP_FRAME_HEIGHT))
      return width, height