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

Method start

imutils/video/pivideostream.py:30–35  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

28 self.stopped = False
29
30 def start(self):
31 # start the thread to read frames from the video stream
32 t = Thread(target=self.update, args=())
33 t.daemon = True
34 t.start()
35 return self
36
37 def update(self):
38 # keep looping infinitely until the thread is stopped

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected