I have created a simple python program in which i have used opencv to display a image and tkinter to show some information about the image in tabular format with the help of treeview.
I have binded the arrow key of right to close the tkinter windows as well as the opencv window but when i pressed the key the tkinter window closes but the opencv window does not and shows this message:
SystemError: <built-in function destroyAllWindows> returned NULL without setting an error
I can't show you the code because its too long . Does anybody know how to solve this error message i searched through the internet and looks like this error message appears in imread function of opencv but in my case when i use cv2.destroyAllWindows()
then it shows message and there is no question like this in stack overflow.
question from:
https://stackoverflow.com/questions/65905620/systemerror-built-in-function-destroyallwindows-returned-null-without-setting 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…