cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
Return to the generic documentation of cloudFPGA
test_harris_filename.py
Go to the documentation of this file.
1
# *****************************************************************************
2
# * cloudFPGA
3
# * Copyright 2016 -- 2022 IBM Corporation
4
# * Licensed under the Apache License, Version 2.0 (the "License");
5
# * you may not use this file except in compliance with the License.
6
# * You may obtain a copy of the License at
7
# *
8
# * http://www.apache.org/licenses/LICENSE-2.0
9
# *
10
# * Unless required by applicable law or agreed to in writing, software
11
# * distributed under the License is distributed on an "AS IS" BASIS,
12
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
# * See the License for the specific language governing permissions and
14
# * limitations under the License.
15
# *----------------------------------------------------------------------------
16
17
25
26
import
sys
27
import
os
28
import
numpy
as
np
29
trieres_lib=os.environ[
'cFpRootDir'
] +
"HOST/vision/harris/languages/python/build"
30
sys.path.append(trieres_lib)
31
32
import
_trieres_harris_filename
33
34
input = os.environ[
'cFpRootDir'
] +
"ROLE/vision/hls/harris/test/512x512.png"
35
36
out, output_image, output_points = _trieres_harris_filename.harris(
"localhost"
,
"1234"
, input)
37
38
print(
"The output image file is "
+ output_image)
39
40
print(
"The output points file is "
+ output_points)
repos_for_Dox
cFp_Zoo
HOST
vision
harris
languages
python
test_harris_filename.py
Generated on Sat Jul 15 2023 05:03:00 for cloudFPGA (cF) API by
1.9.1