cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
ray_play.py File Reference

Go to the source code of this file.

Namespaces

 ray_play
 

Functions

def ray_play.consumer (i, queue, frame)
 

Variables

 ray_play.dashboard_port
 
 ray_play.num_cpus
 
string ray_play.image_file = os.environ['cFpRootDir'] + "ROLE/vision/hls/harris/test/512x512.png"
 
 ray_play.frame = cv.imread(image_file, cv.IMREAD_COLOR)
 
 ray_play.queue = Queue(maxsize=100)
 
list ray_play.consumers = [consumer.remote(i, queue, frame) for i in range(5)]
 
 ray_play.results = ray.get(consumers)
 
string ray_play.file_out = "/tmp/img_"+str(t)+".png"