说白了就是用 python 语言写 opencv 执行代码,写法大体跟 C++ 类似。
import cv2 src = cv2.imread("0.jpg",1) cv2.imshow("dst",src) cv2.waitKey(0)