簡體   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