OpenCV je skup biblioteka za obradu slika na racunalu. Ovdje se nalaze upute kao ga instalirati.
Ubuntu (Debian):
sudo apt-get install g++ libopencv-dev
http://sourceforge.net/projects/mingw/files/latest/download
Instalirajte ga u D:\frameworks\MinGW. Nemojte zaboraviti instalirati i C++ compiler!
Preporucio bih da dodate bin direktorij u PATH enivronment varijablu.
Prilikom prvog otvaranja pitat ce vas za kompilator. Tu zelite odabrati MinGW, koji ste instalirali u proslom koraku. Kasnije to mozete napraviti ovako: Settings > Compiler... > Global Compiler Settings > GNU GCC Compiler > Toolchain executables > Compiler's installation directory postavite na D:\frameworks\MinGW.
Usput mozete ukljuciti i slijedece opcije (Compiler settings):
http://www.cmake.org/files/v2.8/cmake-2.8.10.2-win32-x86.exe
http://sourceforge.net/projects/opencvlibrary/files/latest/download?source=files
Otpakirajte ga u D:/frameworks/src/opencv.
Ukratko:
Pogledajte http://opencv.willowgarage.com/wiki/InstallGuide#Build za nesto detaljniji opis.
CMake Error at D:/Program Files (x86)/CMake 2.8/share/cmake 2.8/Modules/CMakeMinGWFindMake.cmake:20 (message): sh.exe was found in your PATH, here: D:/Program Files (x86)/Git/bin/sh.exe For MinGW make to work correctly sh.exe must NOT be in your path. Run cmake from a shell that does not have sh.exe in your PATH. If you want to use a UNIX shell, then use MSYS Makefiles.
Ova pogreska se rijesi tako da se izbaci D:/Program Files (x86)/Git/bin iz patha. Na Windowsima 8:
Ovaj članak objavljen je pod
Creative Commons Attribution-ShareAlike 3.0 Croatia License