# import os
import img_tools
# from tqdm import tqdm
#
#
# img_folds = os.listdir('./font_img_dataset/windows_1/english')
# for img_fold in tqdm(img_folds):
#     img_fold = str('font_img_dataset/windows_1/english') + '/' + str(img_fold)
#     if not img_fold.endswith('.txt'):
#         img_path_list = os.listdir(img_fold)
#         for img_path in img_path_list:
#             img_tools.img_resize(img_fold + '/' + str(img_path))

path = r"C:\Users\KDAN\Desktop\images\字体\153409.jpg"
img_tools.img_resize(path)
