繁体   English   中英

在树莓派上升级opencv

[英]upgrade opencv on raspberry pi

我目前在我的rapsberry pi上安装了opencv 2.4.1,并且一直在寻找将其升级到最新稳定版本2.4.10的方法。 我需要重新安装还是可以升级?

您将必须下载源代码并进行编译:

wget http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.10/opencv-2.4.10.zip

文档中针对Linux的说明基本上是:

Create a temporary directory, which we denote as <cmake_binary_dir>, where you want to put the generated Makefiles, project files as well the object files and output binaries.
Enter the <cmake_binary_dir> and type
cmake [<some optional parameters>] <path to the OpenCV source directory>
For example
cd ~/opencv
mkdir release
cd release
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
Enter the created temporary directory (<cmake_binary_dir>) and proceed with:
make
sudo make install

对于ubuntu 14.04,有一个详尽的教程可能也很有用。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM