opencv-python 几个小案例记录

旋转图片def rotate_image(image_path, angle, scale=1.0): # 读取图像 image = cv2.imread(image_path) if image is None: print("Error:...