cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
var.tst_scene_render Namespace Reference

Classes

class  TestSceneRender
 

Functions

def main ()
 

Variables

int defaultSize = 512
 

Function Documentation

◆ main()

def var.tst_scene_render.main ( )

Definition at line 132 of file tst_scene_render.py.

132 def main():
133  backGr = cv.imread(cv.samples.findFile('graf1.png'))
134  fgr = cv.imread(cv.samples.findFile('box.png'))
135 
136  render = TestSceneRender(backGr, fgr)
137 
138  while True:
139 
140  img = render.getNextFrame()
141  cv.imshow('img', img)
142 
143  ch = cv.waitKey(3)
144  if ch == 27:
145  break
146 
147  print('Done')
148 
149 

Variable Documentation

◆ defaultSize

int var.tst_scene_render.defaultSize = 512

Definition at line 45 of file tst_scene_render.py.