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

Method start

imutils/video/webcamvideostream.py:19–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

17 self.stopped = False
18
19 def start(self):
20 # start the thread to read frames from the video stream
21 t = Thread(target=self.update, name=self.name, args=())
22 t.daemon = True
23 t.start()
24 return self
25
26 def update(self):
27 # keep looping infinitely until the thread is stopped

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected