pip install opencv-python
运行demo:
import cv2 img = cv2.imread(r"C:\\Users\\wucj\\Desktop\\lion.jpg", 1) cv2.imshow("1", img) cv2.waitKey()