def get_frame_dimensions(frame):
    """Get the dimensions of a single frame"""
    height, width = frame.shape[:2]
    return width, height
Get the dimensions of a single frame
eulerian_magnification/base.py