MCPcopy Index your code
hub / github.com/rawpython/remi / __init__

Method __init__

editor/widgets/toolbox_opencv.py:172–178  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

170 def video_source(self, v): self.__video_source = v; self.capture = cv2.VideoCapture(self.__video_source)
171
172 def __init__(self, *args, **kwargs):
173 self.framerate = 10
174 self.video_source = 0
175 super(OpencvVideo, self).__init__("", *args, **kwargs)
176 self.thread = Thread(target=self.update)
177 self.thread.daemon = True
178 self.thread.start()
179
180 def set_image_data(self, image_data_as_numpy_array):
181 #oveloaded to avoid update

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
startMethod · 0.45

Tested by

no test coverage detected