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