suraj
1
I am getting these errors and i am trying but cant find the exact solution any help will be greatful.
(cv2.imshow(‘Original’, color_image)
AttributeError: module ‘cv2’ has no attribute ‘imshow’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:\Users\st190125.spyder-py3\temp.py”, line 29, in
cv2.destroyAllWindows()
AttributeError: module ‘cv2’ has no attribute ‘destroyAllWindows’)
berak
2
helo, i took the liberty to remove your entirely useless screenshot.
please post TEXT, not images of it, thank you…
suraj
3
Ok I will consider it from onwards. Thank you.
berak
4
try to put spyder away for a moment & run your script from a plain cmdline, like: python my.py
(again, most likely spyder is the problem, not really opencv)
please also check, if you can find anything else called cv2, which might get in the way