img = cv2.imread('lena.jpg',0). PS:呼叫opencv,就算影像的路徑是錯的,OpenCV 也不會提醒你的,但是當你使用命 令print img時得到的結果是None。
確定! 回上一頁