Skip to content

Commit f03b4bd

Browse files
authored
Update opencv install.rst
1 parent e6cb118 commit f03b4bd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

sources/opencv/install.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ Python 环境创建
6767
-D OPENCV_EXTRA_MODULES_PATH=/path/to/opencv/opencv_contrib/modules \
6868
-D DWITH_CUDA=0 \
6969
-D DWITH_CANN=1 \
70+
-D ASCEND_CANN_PACKAGE_PATH=/path/to/ascend-toolkit/latest \
71+
-D CANN_DIR=/path/to/ascend-toolkit/latest \
72+
-D CANN_INCLUDE_DIR=/path/to/ascend-toolkit/latest/include \
73+
-D CANN_LIBRARY=/path/to/ascend-toolkit/latest/lib64 \
7074
-D DPYTHON3_EXECUTABLE=/path/to/miniconda3/envs/opencv/bin/python \
7175
-D DPYTHON_LIBRARY=/path/to/miniconda3/envs/opencv \
7276
-D PYTHON_INCLUDE_DIR=/path/to/miniconda3/envs/opencv/include/python3.10 \

0 commit comments

Comments
 (0)