MCPcopy Create free account
hub / github.com/RichardErkhov/FastFaceSwap / stop

Method stop

utils.py:246–250  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

244 self.thread.start()
245
246 def stop(self):
247 with self.condition:
248 self.condition.notify_all() # Unblock all threads
249 if self.thread:
250 self.thread.join()
251
252 def _capture_frames(self):
253 cap = cv2.VideoCapture(self.video_path)

Callers

nothing calls this directly

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected