1)介绍个显示进度条的函数
from tqdm import tqdm
2)打开图片:
Image.open :from PIL import Image
cv2.imread :import cv2