-
Notifications
You must be signed in to change notification settings - Fork 101
Home
Welcome to the FeatureDetection wiki!
- Create a dir for the whole project, e.g.
cd ~ && mkdir ffd && cd ffd
- Checkout the code:
git ...
. It will create a directory ~/ffd/FeatureDetection/ with all the source files. This is your source-directory. -
mkdir build && cd build
. This is your build-directory. We will build the projects in here. - Run
cmake -C ..\FeatureDetection\initial_cache.cmake ..\FeatureDetection
. A Makefile will be built in this directory. If some library can't be found, edit ~/ffd/FeatureDetection/initial_cache.cmake. - Type
make
to build everything. - Run e.g.
~/ffd/build/ffpDetectApp/ffpDetectApp
.
Note: In the future, there will be an install command that installs the built libs and programs to some dir like ~/ffd/bin/. This is a TODO.
- Install all dependencies (see below).
- Install the git app from http://windows.github.com/. Recommended: Use git gui for windows (http://windows.github.com/)
- Open a command-line (cmd.exe), go to e.g. D:\ and create a dir for the whole project, e.g.
cd D:\
,mkdir ffd
,cd ffd
- Checkout the code: Open GitHub and check-out into D:\ffd. It will create a directory D:/ffd/FeatureDetection/ with all the source files. This is your source-directory.
-
mkdir build
,cd build
. This is your build-directory. We will build the projects in here. You should be in D:\ffd\build now. - Run
cmake -C ..\FeatureDetection\initial_cache.cmake ..\FeatureDetection
. A Makefile will be built in this directory. If some library can't be found, edit D:/ffd/FeatureDetection/initial_cache.cmake. - Open the Visual Studio solution file that has been built in D:/ffd/build/*.sln, and compile in VisualStudio!
- Run e.g.
ffpDetectApp
.
CMake: Install cmake from here: http://www.cmake.org/cmake/resources/software.html. Boost: Download the newest boost binaries (win32) here: http://www.boostpro.com/download/ and install everything. OpenCV: Possibility 1: Download the latest OpenCV win binaries here: http://sourceforge.net/projects/opencvlibrary/files/ and install (Note: not tested. I used possibility 2) Possibility 2: Follow the manual installation here (compile OpenCV by yourself): http://opencv.willowgarage.com/wiki/InstallGuide
C:\opencvsvn\build\bin{Debug}|{Release} needs to be in system-path (or copy the libs to .exe dir).
libFeatureDetection needs Matlab (libmat, libmx) and OpenCV (core, imgproc, highgui). ffpDetectApp needs Matlab (libmat, libmx) and OpenCV (core, imgproc, highgui) and boost (boost_program_options).