Skip to content

Commit 64abee6

Browse files
committed
验证
1 parent 3b36cfd commit 64abee6

File tree

1 file changed

+5
-3
lines changed
  • ch02-安装OpenCV/最简单-使用pip安装opencv-python和opencv-contrib-python

1 file changed

+5
-3
lines changed

ch02-安装OpenCV/最简单-使用pip安装opencv-python和opencv-contrib-python/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,17 @@
55
- source .cv2/bin/activate
66
- pip install opencv-python
77
- pip install matplotlib
8-
- 验证 python -c "import cv2;print(cv2.__version__,cv2.__doc__,cv2.__file__)"
8+
- 验证
9+
- python -c "import cv2;print(cv2.__version__,cv2.__doc__,cv2.__file__)"
910

1011

1112
## 安装 opencv-contrib-python
1213
强烈建议先卸载opencv-python
1314
- pip uninstall opencv-python
1415
- pip install opencv-contrib-python
15-
- 验证 python -c "import cv2;print(cv2.__version__,cv2.__doc__,cv2.__file__)"
16-
- 验证 python -c "import cv2;print(print(help(cv2.CascadeClassifier))"
16+
- 验证
17+
- python -c "import cv2;print(cv2.__version__,cv2.__doc__,cv2.__file__)"
18+
- python -c "import cv2;print(help(cv2.CascadeClassifier))"
1719

1820
##
1921
软件包包含预编译的OpenCV二进制文件和Python绑定。

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy