python-OpenCV常见操作

用OpenCV读取图片

import cv2 as cv
path = 'E:/Documents/Desktop/DSC_0001.JPG'
img = cv.imread(path)
cv.imshow('img',img)
cv.waitKey(0)

你可能感兴趣的:(python,opencv,python,深度学习)