cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
Functions | |
def | consumer (i, queue, frame) |
Variables | |
dashboard_port | |
num_cpus | |
string | image_file = os.environ['cFpRootDir'] + "ROLE/vision/hls/harris/test/512x512.png" |
frame = cv.imread(image_file, cv.IMREAD_COLOR) | |
queue = Queue(maxsize=100) | |
list | consumers = [consumer.remote(i, queue, frame) for i in range(5)] |
results = ray.get(consumers) | |
string | file_out = "/tmp/img_"+str(t)+".png" |
def ray_play.consumer | ( | i, | |
queue, | |||
frame | |||
) |
Definition at line 18 of file ray_play.py.
Definition at line 28 of file ray_play.py.
ray_play.dashboard_port |
Definition at line 9 of file ray_play.py.
string ray_play.file_out = "/tmp/img_"+str(t)+".png" |
Definition at line 41 of file ray_play.py.
ray_play.frame = cv.imread(image_file, cv.IMREAD_COLOR) |
Definition at line 12 of file ray_play.py.
string ray_play.image_file = os.environ['cFpRootDir'] + "ROLE/vision/hls/harris/test/512x512.png" |
Definition at line 11 of file ray_play.py.
ray_play.num_cpus |
Definition at line 9 of file ray_play.py.
ray_play.queue = Queue(maxsize=100) |
Definition at line 15 of file ray_play.py.
ray_play.results = ray.get(consumers) |
Definition at line 37 of file ray_play.py.