Install OpenCV-Python on Ubuntu18.04
文章目录OpenCV-python1 Pip / Pip32 OpenCV3 ReferenceOpenCV-python1 Pip / Pip3$ sudo apt-get update && sudo apt-get upgrade$ sudo apt-get install wget git$ wget https://bootstrap.pypa.io/get-p...
·
OpenCV-python
1 Pip / Pip3
$ sudo apt-get update && sudo apt-get upgrade
$ sudo apt-get install wget git
$ wget https://bootstrap.pypa.io/get-pip.py
$ sudo python3 get-pip.py # for pip3
$ sudo python2.7 get-pip.py # for pip
2 OpenCV
$ sudo apt install libopencv-dev
$ sudo pip3 install opencv-python==版本号 # for Python3
$ sudo pip install opencv-python==版本号 # for Python2
3 Reference
更多推荐
已为社区贡献21条内容
所有评论(0)