TypeError: Required argument 'threshold2' (pos 4) not found

canny = cv2.Canny(img, 100, 200) 

  报错:TypeError: Required argument 'threshold2' (pos 4) not found

canny = cv2.Canny(np.asarray(img), 100, 200) 

 

posted @ 2020-07-08 21:52  谷阿幻  阅读(1963)  评论(0编辑  收藏  举报