opencv的pip/pip3快速安裝-國內源
python3版本的基本包安裝
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python
python3版本的額外包安裝
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-contrib-python
一般的pip/pip3安裝可以參考如下格式
for python2.x
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple XXXXXXX
for python3.x
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple XXXXXXX