MCPcopy Create free account
hub / github.com/PyImageSearch/imutils / stop

Method stop

imutils/video/filevideostream.py:95–99  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

93 return self.Q.qsize() > 0
94
95 def stop(self):
96 # indicate that the thread should be stopped
97 self.stopped = True
98 # wait until stream resources are released (producer thread might be still grabbing frame)
99 self.thread.join()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected