You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Remove any previous installations of x264</h3>
$ sudo apt-get remove x264 libx264-dev
# If you are using Ubuntu 16.04
$ sudo apt-get install libtiff5-dev
The reason is that this easy way of doing things will lead you to install a package which is not enough mature as you can not even deal with videos and can not even display an image using cv2.imshow() function. So do not be lazy and follow the below steps.
1.安装
1.1 windows
1.2 linux (Debian)
1.2.1 从源码编译
安装依赖
编译 OpenCV
opencv_contrib
是一些扩展功能和 non-free 代码编译的时候出错了,
undefined symbol: gotoblas issue
是 Installing lapack for numpy这个问题,解决方法是:
重新编译
OpenBLAS
cv2.so
到对应的 Python 的 site-packages1.2.2 直接通过 apt 安装 (Debian)
缺点
1.2.3 通过官网安装
里面的内容:
1.2.4 通过 pip 安装 (不推荐)
暂时还没试过,根据 Installing OpenCV 3.2.0 for Python 3.5.2 on Ubuntu 16.04.2 LTS
Mac Os
The text was updated successfully, but these errors were encountered: