Update Run.py

This commit is contained in:
Sai Subhakar T
2021-05-04 14:20:17 +02:00
committed by GitHub
parent aa917b5f56
commit 1b0c8cdbb3

4
Run.py
View File

@@ -326,6 +326,10 @@ def run():
# # otherwise, release the video file pointer # # otherwise, release the video file pointer
# else: # else:
# vs.release() # vs.release()
# issue 15
if config.Thread:
vs.release()
# close any open windows # close any open windows
cv2.destroyAllWindows() cv2.destroyAllWindows()