openCV基础,基于Python
1. 图像的读取,显示和保存首先在python中安装opencv, 在终端命令行输入pip install opencv-python 即可。#导入cv2的库import cv2 as cv#图像读取img = cv.imread(“img.jpg”)#显示图像cv.imshow(“img”, img)#使图像持久显示在桌面上cv.waitKey(0)cv.destroyAl...