Opencv imshow() freezes when updating

后端 未结 9 2341
Happy的楠姐
Happy的楠姐 2020-12-09 05:18

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

9条回答
  •  情深已故
    2020-12-09 05:56

    Add the following two lines of code after cv2.imshow() function,

    cv2.waitKey()

    cv2.destroyAllWindows()

提交回复
热议问题