def capture_area(area):
    """
    Captures area of the screen

    Args:
        area (Tuple (x,y,width,height)): Area to capture

    Returns:
        Image : Image of the area captured
    """
    img = pyautogui.screenshot(region=area)
    return img