cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
Functions | |
def | crop_square (img, size, interpolation=cv2.INTER_AREA) |
def | patch_square (crop_img, img, interpolation=cv2.INTER_AREA) |
Variables | |
string | trieres_lib = os.environ['cFpRootDir'] + "HOST/" |
string | config_file = os.environ['cFpRootDir'] + "HOST/vision/median_blur/languages/cplusplus/include/config.h" |
width = int(line.split()[2]) | |
height = int(line.split()[2]) | |
total_size = height * width | |
int | num_frame = 1 |
string | image_in_filename = os.environ['cFpRootDir'] + "ROLE/vision/hls/harris/test/512x512.png" |
string | image_out_filename = image_in_filename + "_fpga_points_out_frame_" + str(num_frame) + ".png" |
bool | ROI = False |
image = cv2.imread(image_in_filename, cv2.IMREAD_UNCHANGED) | |
image_big = image | |
tuple | dim = (width, height) |
input_array = image | |
output_array = vision.median_blur(input_array, total_size, "10.12.200.66", 2718, logging.ERROR) | |
output_array_2d = np.reshape(output_array, (height, width)) | |
def test_median_blur.crop_square | ( | img, | |
size, | |||
interpolation = cv2.INTER_AREA |
|||
) |
Definition at line 60 of file test_median_blur.py.
def test_median_blur.patch_square | ( | crop_img, | |
img, | |||
interpolation = cv2.INTER_AREA |
|||
) |
Definition at line 79 of file test_median_blur.py.
string test_median_blur.config_file = os.environ['cFpRootDir'] + "HOST/vision/median_blur/languages/cplusplus/include/config.h" |
Definition at line 36 of file test_median_blur.py.
Definition at line 109 of file test_median_blur.py.
test_median_blur.height = int(line.split()[2]) |
Definition at line 43 of file test_median_blur.py.
def test_median_blur.image = cv2.imread(image_in_filename, cv2.IMREAD_UNCHANGED) |
Definition at line 96 of file test_median_blur.py.
test_median_blur.image_big = image |
Definition at line 105 of file test_median_blur.py.
string test_median_blur.image_in_filename = os.environ['cFpRootDir'] + "ROLE/vision/hls/harris/test/512x512.png" |
Definition at line 54 of file test_median_blur.py.
string test_median_blur.image_out_filename = image_in_filename + "_fpga_points_out_frame_" + str(num_frame) + ".png" |
Definition at line 55 of file test_median_blur.py.
test_median_blur.input_array = image |
Definition at line 117 of file test_median_blur.py.
int test_median_blur.num_frame = 1 |
Definition at line 51 of file test_median_blur.py.
test_median_blur.output_array = vision.median_blur(input_array, total_size, "10.12.200.66", 2718, logging.ERROR) |
Definition at line 121 of file test_median_blur.py.
test_median_blur.output_array_2d = np.reshape(output_array, (height, width)) |
Definition at line 124 of file test_median_blur.py.
bool test_median_blur.ROI = False |
Definition at line 57 of file test_median_blur.py.
Definition at line 46 of file test_median_blur.py.
string test_median_blur.trieres_lib = os.environ['cFpRootDir'] + "HOST/" |
Definition at line 31 of file test_median_blur.py.
test_median_blur.width = int(line.split()[2]) |
Definition at line 41 of file test_median_blur.py.