1 | initial version |
Put this outside of whiile loop condition block.
capture.release()
cv2.destroyAllWindows()
2 | No.2 Revision |
Put this outside of whiile while loop condition block.
capture.release()
cv2.destroyAllWindows()
3 | No.3 Revision |
Put this outside of while loop condition block.
capture.release()
k = cv2.waitKey(1)
if k == ord('q'):
break
elif k == 27:
break
video_capture.release()
cv2.destroyAllWindows()
4 | No.4 Revision |
Put this outside of while loop condition block.
k = cv2.waitKey(1)
if k == ord('q'):
break
elif k == 27:
break
video_capture.release()
cv2.destroyAllWindows()