Change capture.close() to capture.release()
This commit is contained in:
parent
581f589b52
commit
95d1b716b1
@ -47,7 +47,7 @@ def update_values(queue: Queue):
|
|||||||
else:
|
else:
|
||||||
queue.put((frame_bgr, emotions))
|
queue.put((frame_bgr, emotions))
|
||||||
finally:
|
finally:
|
||||||
capture.close()
|
capture.release()
|
||||||
|
|
||||||
|
|
||||||
def update_to_clients(queue: Queue):
|
def update_to_clients(queue: Queue):
|
||||||
|
Loading…
Reference in New Issue
Block a user