def norm_img(img):
    """A function to Normalize Images.
    Input:
        img : Original image as numpy array.
    Output: Normailized Image as numpy array
    """
    img = img/127.5 - 1
    return img