cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
test_harris_numpi Namespace Reference

Variables

string trieres_lib = os.environ['cFpRootDir'] + "HOST/vision/harris/languages/python/build"
 
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"
 
 image = cv2.imread(image_in_filename, cv2.IMREAD_UNCHANGED)
 
tuple dim = (width, height)
 
int total_size = height * width
 
 input_array = image
 
 output_array = _trieres_harris_numpi.harris(input_array, total_size, "10.12.200.234", "2719")
 
 output_array_2d = np.reshape(output_array, (height, width))
 

Variable Documentation

◆ dim

tuple test_harris_numpi.dim = (width, height)

Definition at line 54 of file test_harris_numpi.py.

◆ height

int test_harris_numpi.height = 256

Definition at line 36 of file test_harris_numpi.py.

◆ image

test_harris_numpi.image = cv2.imread(image_in_filename, cv2.IMREAD_UNCHANGED)

Definition at line 46 of file test_harris_numpi.py.

◆ image_in_filename

string test_harris_numpi.image_in_filename = os.environ['cFpRootDir'] + "ROLE/vision/hls/harris/test/512x512.png"

Definition at line 41 of file test_harris_numpi.py.

◆ image_out_filename

string test_harris_numpi.image_out_filename = image_in_filename + "_fpga_points_out_frame_" + str(num_frame) + ".png"

Definition at line 42 of file test_harris_numpi.py.

◆ input_array

test_harris_numpi.input_array = image

Definition at line 62 of file test_harris_numpi.py.

◆ num_frame

int test_harris_numpi.num_frame = 1

Definition at line 38 of file test_harris_numpi.py.

◆ output_array

test_harris_numpi.output_array = _trieres_harris_numpi.harris(input_array, total_size, "10.12.200.234", "2719")

Definition at line 66 of file test_harris_numpi.py.

◆ output_array_2d

test_harris_numpi.output_array_2d = np.reshape(output_array, (height, width))

Definition at line 69 of file test_harris_numpi.py.

◆ total_size

int test_harris_numpi.total_size = height * width

Definition at line 60 of file test_harris_numpi.py.

◆ trieres_lib

string test_harris_numpi.trieres_lib = os.environ['cFpRootDir'] + "HOST/vision/harris/languages/python/build"

Definition at line 30 of file test_harris_numpi.py.