For my image processing algorithm I\'m using python / OpenCV. The output of my algorithm shall be updated im the same window over and over again.
However sometimes
Add the following two lines of code after cv2.imshow() function,
cv2.imshow()
cv2.waitKey()
cv2.destroyAllWindows()