img = cv2.imread('lena.jpg',0). PS:调用opencv,就算图像的路径是错的,OpenCV 也不会提醒你的,但是当你使用命令print img时得到的结果是None。
確定! 回上一頁