【OpenCV】命令行安装OpenCV-Python的方法

pip install opencv-python==4.1.2.30 -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install opencv-contrib-python==4.1.2.30 -i https://pypi.tuna.tsinghua.edu.cn/simple

命令中的版本号根据自己的需要更改。OpenCV版本号查看:

Links for opencv-python (tsinghua.edu.cn)https://pypi.tuna.tsinghua.edu.cn/simple/opencv-python/

你可能感兴趣的:(OpenCV,python,opencv)