srrcboy / openfabmap

Automatically exported from code.google.com/p/openfabmap
Other
0 stars 0 forks source link

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)

  1. install openCV2.3 [http://opencv.willowgarage.com/wiki/]
  2. install cmake [www.cmake.org/]
  3. open the cmake gui, specify the source directory (the directory this README is in), a build directory for the code, and click configure
  4. you may have to specify the location of opencv2.3 in UngroupedEntries->OPENCV_PATH.
  5. click configure in the cmake gui again
  6. click generate
  7. open the visual studio solution, for default running right-click on openFABMAPexe project and select 'Set as StartUp project'. Compile openFABMAP within Visual studio.
  8. add required .dll files from openCV2.3 to your build/bin directory (respective debug versions for debug mode).
  9. you also may need an extra tbb .dll which can be downloaded here: [http://threadingbuildingblocks.org/ver.php?fid=171]
  10. under openFABMAPcli->properties->Debugging->command arguments specify the path to the settings file (e.g. "-s samples\settings.yml")
  11. Alter the settings file for your data
  12. run exampleopenFABMAP in your build/bin directory (respective debug versions for debug mode).

Linux (g++)

  1. install openCV2.3
  2. get cmake and install it using your package manager
  3. install cmakecurses using your package manager
  4. make a build directory for your generated code
  5. use the command line to change into this directory
  6. run 'cmake /path/to/your/build/dir'
  7. Hopefully openCV was found. If not, you may have to specify the directory manually using ccmake. Try using the wizard option cmake -i.
  8. run 'make' in your build directory
  9. Alter the settings file for your application
  10. run openFABMAPcli in your build/bin directory