def METHOD_NAME(gt_file, img_info):
    """Collect the annotation information.
    The annotation format is as the following:
    x1,y1,x2,y2,x3,y3,x4,y4,text
    118,15,147,15,148,46,118,46,LƯỢNG
    149,9,165,9,165,43,150,43,TỐT
    167,9,180,9,179,43,167,42,ĐỂ
    181,12,193,12,193,43,181,43,CÓ
    195,13,215,14,215,46,196,46,VIỆC
    217,13,237,14,239,47,217,46,LÀM,
    Args:
        gt_file (str): The path to ground-truth
        img_info (dict): The dict of the img and annotation information
    Returns:
        img_info (dict): The dict of the img and annotation information
    """
    with open(gt_file, encoding='utf-8') as f:
        anno_info = []
        for line in f:
            line = line.strip('\n')
            ann = line.split(',')
            bbox = ann[0:8]
            word = line[len(','.join(bbox)) + 1:]
            bbox = [int(coord) for coord in bbox]
            segmentation = bbox
            x_min = min(bbox[0], bbox[2], bbox[4], bbox[6])
            x_max = max(bbox[0], bbox[2], bbox[4], bbox[6])
            y_min = min(bbox[1], bbox[3], bbox[5], bbox[7])
            y_max = max(bbox[1], bbox[3], bbox[5], bbox[7])
            w = x_max - x_min
            h = y_max - y_min
            bbox = [x_min, y_min, w, h]
            iscrowd = 1 if word == '###' else 0
            anno = dict(
                iscrowd=iscrowd,
                category_id=1,
                bbox=bbox,
                area=w * h,
                segmentation=[segmentation])
            anno_info.append(anno)
    img_info.update(anno_info=anno_info)
    return img_info