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 | |
int | height = 256 |
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) |
int | total_size = height * width |
input_array = image | |
output_array = trieres.vision.median_blur(input_array, total_size, "127.0.0.1", 2718) | |
output_array_2d = np.reshape(output_array, (height, width)) | |
def test_median_blur_numpi.crop_square | ( | img, | |
size, | |||
interpolation = cv2.INTER_AREA |
|||
) |
Definition at line 48 of file test_median_blur_numpi.py.
def test_median_blur_numpi.patch_square | ( | crop_img, | |
img, | |||
interpolation = cv2.INTER_AREA |
|||
) |
Definition at line 67 of file test_median_blur_numpi.py.
tuple test_median_blur_numpi.dim = (width, height) |
Definition at line 99 of file test_median_blur_numpi.py.
int test_median_blur_numpi.height = 256 |
Definition at line 37 of file test_median_blur_numpi.py.
def test_median_blur_numpi.image = cv2.imread(image_in_filename, cv2.IMREAD_UNCHANGED) |
Definition at line 86 of file test_median_blur_numpi.py.
test_median_blur_numpi.image_big = image |
Definition at line 95 of file test_median_blur_numpi.py.
string test_median_blur_numpi.image_in_filename = os.environ['cFpRootDir'] + "ROLE/vision/hls/harris/test/512x512.png" |
Definition at line 42 of file test_median_blur_numpi.py.
string test_median_blur_numpi.image_out_filename = image_in_filename + "_fpga_points_out_frame_" + str(num_frame) + ".png" |
Definition at line 43 of file test_median_blur_numpi.py.
test_median_blur_numpi.input_array = image |
Definition at line 107 of file test_median_blur_numpi.py.
int test_median_blur_numpi.num_frame = 1 |
Definition at line 39 of file test_median_blur_numpi.py.
test_median_blur_numpi.output_array = trieres.vision.median_blur(input_array, total_size, "127.0.0.1", 2718) |
Definition at line 112 of file test_median_blur_numpi.py.
test_median_blur_numpi.output_array_2d = np.reshape(output_array, (height, width)) |
Definition at line 115 of file test_median_blur_numpi.py.
bool test_median_blur_numpi.ROI = False |
Definition at line 45 of file test_median_blur_numpi.py.
int test_median_blur_numpi.total_size = height * width |
Definition at line 105 of file test_median_blur_numpi.py.