A python script for testing the cF median_blur kernel in ray distributed environment.
More...
|
bool | test_median_blur_video_threaded_ray.ROI = False |
|
bool | test_median_blur_video_threaded_ray.accel_mode = True |
|
| test_median_blur_video_threaded_ray.debug_level = logging.INFO |
|
string | test_median_blur_video_threaded_ray.config_file = os.environ['cFpRootDir'] + "HOST/vision/median_blur/languages/cplusplus/include/config.h" |
|
| test_median_blur_video_threaded_ray.level |
|
| test_median_blur_video_threaded_ray.width = int(line.split()[2]) |
|
| test_median_blur_video_threaded_ray.height = int(line.split()[2]) |
|
| test_median_blur_video_threaded_ray.total_size = height * width |
|
| test_median_blur_video_threaded_ray.fpgas_queue = Queue(maxsize=100) |
|
| test_median_blur_video_threaded_ray.tic_capture = time.perf_counter() |
|
| test_median_blur_video_threaded_ray.cap = cv.VideoCapture(fn) |
|
list | test_median_blur_video_threaded_ray.frames = [] |
|
list | test_median_blur_video_threaded_ray.frames_ret = [] |
|
| test_median_blur_video_threaded_ray.ret |
|
| test_median_blur_video_threaded_ray.frame |
|
| test_median_blur_video_threaded_ray.toc_capture = time.perf_counter() |
|
| test_median_blur_video_threaded_ray.tic_consumers = time.perf_counter() |
|
list | test_median_blur_video_threaded_ray.consumers = [consumer.remote(accel_mode, fpgas_queue, frames[i], debug_level=debug_level) for i in range(len(frames))] |
|
| test_median_blur_video_threaded_ray.toc_consumers = time.perf_counter() |
|
| test_median_blur_video_threaded_ray.tic_exec = time.perf_counter() |
|
| test_median_blur_video_threaded_ray.results = ray.get(consumers) |
|
| test_median_blur_video_threaded_ray.toc_exec = time.perf_counter() |
|
| test_median_blur_video_threaded_ray.tic_save = time.perf_counter() |
|
string | test_median_blur_video_threaded_ray.video_name = str(fn)+"_out.avi" |
|
| test_median_blur_video_threaded_ray.video_out = cv.VideoWriter(video_name, cv.VideoWriter_fourcc('M','J','P','G'), 30, (results[0].shape[1],results[0].shape[0])) |
|
| test_median_blur_video_threaded_ray.toc_save = time.perf_counter() |
|
A python script for testing the cF median_blur kernel in ray distributed environment.
- Author
- DID
- Date
- April 2022
Definition in file test_median_blur_video_threaded_ray.py.