MCPcopy
hub / github.com/makelove/OpenCV-Python-Tutorial / __init__

Method __init__

官方samples/video.py:99–101  ·  view source on GitHub ↗
(self, **kw)

Source from the content-addressed store, hash-verified

97
98class Cube(VideoSynthBase):
99 def __init__(self, **kw):
100 super(Cube, self).__init__(**kw)
101 self.render = TestSceneRender(cv2.imread('../data/pca_test1.jpg'), deformation = True, speed = 1)
102
103 def read(self, dst=None):
104 noise = np.zeros(self.render.sceneBg.shape, np.int8)

Callers

nothing calls this directly

Calls 2

TestSceneRenderClass · 0.90
__init__Method · 0.45

Tested by

no test coverage detected