def METHOD_NAME():
    start = time.time()
    img_path = '/home2/sungeun.kim/project/DeepGuider/src/ocr_recog/demo_image/all/demo_11_all.png'
    gt_txt_root = '/home2/sungeun.kim/project/CRAFT-pytorch/result/res_demo_11_all.txt'
    img_root_new = '/home2/sungeun.kim/project/CRAFT-pytorch/result/crop/'
    cnt = 0
    with open(gt_txt_root, 'r', encoding='utf-8') as f:
        # image_path = gt[:-4]+'.jpg'
        img = Image.open(img_path).convert('RGB')
        for s in f:
            x1 = float(s.split(',')[0])
            y1 = float(s.split(',')[1])
            x2 = float(s.split(',')[2])
            y2 = float(s.split(',')[3])
            x3 = float(s.split(',')[4])
            y3 = float(s.split(',')[5])
            x4 = float(s.split(',')[6])
            y4 = float(s.split(',')[7])
            x_min = min(x1, x2, x3, x4)
            x_max = max(x1, x2, x3, x4)
            y_min = min(y1, y2, y3, y4)
            y_max = max(y1, y2, y3, y4)
            crop_position = (x_min, y_min, x_max, y_max)
            print(crop_position)
            imgCrop = img.crop(crop_position)
            new_img_path = img_root_new + str(cnt) + '.png'
            imgCrop.save(new_img_path)
            cnt  = cnt +1
    print('Initialization Done! It tooks {:.2f} mins.\n'.format((time.time() - start) / 60))