canny = cv2.Canny(img, 100, 200)
报错:TypeError: Required argument 'threshold2' (pos 4) not found
canny = cv2.Canny(np.asarray(img), 100, 200)