总结常用系统中安装CV2(opencv)
ubuntu:
安装相关依赖:
apt-get install libsm6
apt-get install libxrender1
apt-get install libxext-dev
系统安装 python3.6
pip install opencv-contrib-python==4.1.2.30
pip install opencv-python==4.1.2.30
centos
系统安装 python3.6:
pip install opencv-contrib-python==4.1.2.30
pip install opencv-python==4.1.2.30
mac:
系统安装 python3.6:
pip install opencv-contrib-python==4.1.2.30
pip install opencv-python==4.1.2.30
本文提供了一种在Ubuntu、CentOS和Mac上安装CV2(OpenCV)的详细步骤,包括安装必要的依赖库和使用pip安装特定版本的opencv-contrib-python和opencv-python。
1082

被折叠的 条评论
为什么被折叠?



