def colorize(points_list, img, save_path, item, line, point_color):
    save_path = os.path.join(save_path, (((str(item.strip('.jpg')) + '_') + str(line)) + '.jpg'))
    img2 = img.copy()
    point_size = 1
    thickness = 4
    for i in range(4):
        cv2.circle(img2, (int(points_list[i][0]), int(points_list[i][1])), point_size, point_color, thickness)
    cv2.imwrite(save_path, img2)
def colorize(points_list, img, save_path, item, line, point_color):
    save_path = os.path.join(save_path, (((str(item.strip('.jpg')) + '_') + str(line)) + '.jpg'))
    img2 = img.copy()
    point_size = 1
    thickness = 4
    for i in range(4):
        cv2.circle(img2, (int(points_list[i][0]), int(points_list[i][1])), point_size, point_color, thickness)
    cv2.imwrite(save_path, img2)