用OpenCV读取图片
import cv2 as cv
path = 'E:/Documents/Desktop/DSC_0001.JPG'
img = cv.imread(path)
cv.imshow('img',img)
cv.waitKey(0)
用OpenCV读取图片
import cv2 as cv
path = 'E:/Documents/Desktop/DSC_0001.JPG'
img = cv.imread(path)
cv.imshow('img',img)
cv.waitKey(0)