I am just trying to apply a filter to an image using cv2, the opencv python bindings. Here is what my code look like:
im = cv2.imread('./test_imgs/zzzyj.jpg')
cv2.imshow('Image', cv2.blur(im, 2)
cv2.waitKey(0)
It's almost copy-and-paste from the documentation. However, it just doesn't work, with no more trace than this message:
SystemError: new style getargs format but argument is not a tuple
The same error occurs with GaussianBlur, but not with medianBlur. Any thoughts?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…