一条命令就可以搞定:
pip install opencv-contrib-python opencv-python
或者:
pip install opencv-contrib-python==3.4.0.12
下载网址:
https://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv
, a real time computer vision library.
, a replacement for , the Python Image Library, which provides image processing functionality and supports many file formats.
Use `from PIL import Image` instead of `import Image`.另外有参考网址:
https://pypi.org/project/opencv-contrib-python/