import cv2 import numpy as np #读取图片 img = cv2.imread('test16.jpg') #图片显示 cv2.imshow('picture',img) cv2.waitKey(0) cv2.destroyAllWindows()
效果图