python opencv3 显示一张图片时间:2023-03-09 05:01:16 git:https://github.com/linyi0604/Computer-Vision # coding:utf8 import cv2 """ 显示一张图像 """ img = cv2.imread("../data/mm2.jpeg") # 读取一张图像 cv2.imshow("my image", img) # 显示图片窗口 cv2.waitKey() # 阻塞等待按键 cv2.destroyAllWindows() # 销毁资源