def parse_line(line):
    """
    parse input info file, file lines format as: seqno filename width height
    """
    temp = line.split(" ")
    index = temp[1].split("/")[-1].split(".")[0]
    # height width(not width height)
    return index, (int(temp[2]), int(temp[3]))