Definition at line 129 of file video.py.
◆ __init__()
def var.video.Cube.__init__ |
( |
|
self, |
|
|
** |
kw |
|
) |
| |
Definition at line 130 of file video.py.
130 def __init__(self, **kw):
131 super(Cube, self).__init__(**kw)
132 self.render = TestSceneRender(cv.imread(cv.samples.findFile(
'pca_test1.jpg')), deformation =
True, speed = 1)
◆ read()
def var.video.Cube.read |
( |
|
self, |
|
|
|
dst = None |
|
) |
| |
Reimplemented from var.video.VideoSynthBase.
Definition at line 134 of file video.py.
134 def read(self, dst=None):
135 noise = np.zeros(self.render.sceneBg.shape, np.int8)
136 cv.randn(noise, np.zeros(3), np.ones(3)*255*self.noise)
138 return True, cv.add(self.render.getNextFrame(), noise, dtype=cv.CV_8UC3)
◆ render
The documentation for this class was generated from the following file:
- repos_for_Dox/cFp_Zoo/HOST/vision/common/languages/python/var/video.py