import cv2
# LOAD AN IMAGE USING 'IMREAD'
#img = cv2.imread("Resources/lena.png")
img = cv2.imread("C:/Users/78736/PycharmProjects/OpencvPython/Resources/lena.png")
#这边我选择绝对路径才能加载
# DISPLAY
cv2.imshow("Lena Soderberg",img)
cv2.waitKey(0)
CV绝对路径提取
最新推荐文章于 2024-11-01 16:26:24 发布