import glob


def readImgFolder(path):
    """
    read image form folder and create a list of images path in side the folder
    Parameters:
        -path: folder path (ex.'RAW_FUNDUS_INPUT/*.jpg')
    Returns:
        -image_list: list of images path in the folder
    """
    image_list = []
    for filename in glob.glob(path):
        image_list.append(filename)
    return image_list