def load_image_set(imageSets_file):
    """
    Get image identifiers from ImageSets dir's file for train or test. like ['set00_V000_I00000','set00_V000_I00001'...]
    """
    with open(imageSets_file, 'r') as f:
        lines = f.readlines()
    image_identifiers = [x.strip() for x in lines]
    return image_identifiers