mirror of
https://github.com/rendies/People-Counting-in-Real-Time.git
synced 2025-10-29 19:43:03 +07:00
Update Run.py
This commit is contained in:
4
Run.py
4
Run.py
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user