openfabmap
Open Source C++ Code for the FAB-MAP Algorithm
version 2.01
please see http://code.google.com/p/openfabmap/ for more information
OPENCV2.4 Compatibility
if using openCV2.4 you will need to replace
//#define OPENCV2P4
with
define OPENCV2P4
at the beggining of openFABMAPcli.cpp
Installation Instructions (using Cmake)
Windows (Visual Studio 2008)
- install openCV2.3 [http://opencv.willowgarage.com/wiki/]
- install cmake [www.cmake.org/]
- open the cmake gui, specify the source directory (the directory this README is in), a build directory for the code, and click configure
- you may have to specify the location of opencv2.3 in UngroupedEntries->OPENCV_PATH.
- click configure in the cmake gui again
- click generate
- open the visual studio solution, for default running right-click on openFABMAPexe project and select 'Set as StartUp project'. Compile openFABMAP within Visual studio.
- add required .dll files from openCV2.3 to your build/bin directory (respective debug versions for debug mode).
- you also may need an extra tbb .dll which can be downloaded here: [http://threadingbuildingblocks.org/ver.php?fid=171]
- under openFABMAPcli->properties->Debugging->command arguments specify the path to the settings file (e.g. "-s samples\settings.yml")
- Alter the settings file for your data
- run exampleopenFABMAP in your build/bin directory (respective debug versions for debug mode).
Linux (g++)
- install openCV2.3
- get cmake and install it using your package manager
- install cmakecurses using your package manager
- make a build directory for your generated code
- use the command line to change into this directory
- run 'cmake /path/to/your/build/dir'
- Hopefully openCV was found. If not, you may have to specify the directory manually using ccmake. Try using the wizard option cmake -i.
- run 'make' in your build directory
- Alter the settings file for your application
- run openFABMAPcli in your build/bin directory