mirror of
https://github.com/rendies/People-Counting-in-Real-Time.git
synced 2025-05-14 18:09:29 +07:00
release func.
This commit is contained in:
parent
1b0c8cdbb3
commit
61eceaec01
|
@ -26,3 +26,6 @@ class ThreadingClass:
|
||||||
|
|
||||||
def read(self):
|
def read(self):
|
||||||
return self.q.get() # fetch frames from the queue one by one
|
return self.q.get() # fetch frames from the queue one by one
|
||||||
|
|
||||||
|
def release(self):
|
||||||
|
return self.cap.release() # release the hw resource
|
||||||
|
|
Loading…
Reference in New Issue
Block a user