Commit 41325f108e44a30a2bafc1387dbece01104953ad
1 parent
3ad2361a
updated OS X docs
Showing
2 changed files
with
27 additions
and
20 deletions
openbr/openbr_export.cpp
| @@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
| 24 | * OpenBR originated within The MITRE Corporation from a need to streamline the process of prototyping new algorithms. | 24 | * OpenBR originated within The MITRE Corporation from a need to streamline the process of prototyping new algorithms. |
| 25 | * The project was later published as open source software under the <a href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache 2</a> license and is <i>free for academic and commercial use</i>. | 25 | * The project was later published as open source software under the <a href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache 2</a> license and is <i>free for academic and commercial use</i>. |
| 26 | * | 26 | * |
| 27 | - * \image html "share/openbr/abstraction.svg" "The two principal software artifacts are the shared library 'openbr' and command line application 'br'." | 27 | + * \image html "abstraction.svg" "The two principal software artifacts are the shared library 'openbr' and command line application 'br'." |
| 28 | * | 28 | * |
| 29 | * \section get_started Get Started | 29 | * \section get_started Get Started |
| 30 | * - \ref installation - \copybrief installation | 30 | * - \ref installation - \copybrief installation |
| @@ -70,13 +70,13 @@ $ export DYLD_FRAMEWORK_PATH=../lib:${DYLD_FRAMEWORK_PATH} | @@ -70,13 +70,13 @@ $ export DYLD_FRAMEWORK_PATH=../lib:${DYLD_FRAMEWORK_PATH} | ||
| 70 | * No configuration is necessary! | 70 | * No configuration is necessary! |
| 71 | * | 71 | * |
| 72 | * \section installation_license_dongle License Dongle | 72 | * \section installation_license_dongle License Dongle |
| 73 | - * If you were given a USB License Dongle, then dongle must be in the computer in order to use the SDK. | 73 | + * In the unlikely event that you were given a USB License Dongle, then dongle must be in the computer in order to use the SDK. |
| 74 | * No configuration of the dongle is needed. | 74 | * No configuration of the dongle is needed. |
| 75 | * | 75 | * |
| 76 | * \section installation_done Start Working | 76 | * \section installation_done Start Working |
| 77 | * To test for successful installation: | 77 | * To test for successful installation: |
| 78 | \verbatim | 78 | \verbatim |
| 79 | -$ cd bin/ | 79 | +$ cd bin |
| 80 | $ br -help | 80 | $ br -help |
| 81 | \endverbatim | 81 | \endverbatim |
| 82 | */ | 82 | */ |
| @@ -244,7 +244,7 @@ $ br -help | @@ -244,7 +244,7 @@ $ br -help | ||
| 244 | /*! | 244 | /*! |
| 245 | * \page osx_clang OS X Mountain Lion - Clang/LLVM 3.1 - x64 | 245 | * \page osx_clang OS X Mountain Lion - Clang/LLVM 3.1 - x64 |
| 246 | * -# Download and install the latest "Xcode" and "Command Line Tools" from the <a href="https://developer.apple.com/downloads/index.action#">Apple Developer Downloads</a> page. | 246 | * -# Download and install the latest "Xcode" and "Command Line Tools" from the <a href="https://developer.apple.com/downloads/index.action#">Apple Developer Downloads</a> page. |
| 247 | - * -# <a href="http://www.cmake.org/files/v2.8/cmake-2.8.10.2.tar.gz">Download CMake 2.8.10.2</a>. | 247 | + * -# <a href="http://www.cmake.org/files/v2.8/cmake-2.8.10.2.tar.gz">Download CMake 2.8.10.2</a> |
| 248 | * \code | 248 | * \code |
| 249 | * $ cd ~/Downloads | 249 | * $ cd ~/Downloads |
| 250 | * $ tar -xf cmake-2.8.10.2.tar.gz | 250 | * $ tar -xf cmake-2.8.10.2.tar.gz |
| @@ -253,22 +253,22 @@ $ br -help | @@ -253,22 +253,22 @@ $ br -help | ||
| 253 | * $ make -j4 | 253 | * $ make -j4 |
| 254 | * $ sudo make install | 254 | * $ sudo make install |
| 255 | * $ cd .. | 255 | * $ cd .. |
| 256 | - * $ rm -r cmake-2.8.10.2 | 256 | + * $ rm -rf cmake-2.8.10.2* |
| 257 | * \endcode | 257 | * \endcode |
| 258 | - * -# <a href="http://downloads.sourceforge.net/project/opencvlibrary/opencv-unix/2.4.4/OpenCV-2.4.4.tar.bz2">Download OpenCV 2.4.4</a>. | 258 | + * -# <a href="http://downloads.sourceforge.net/project/opencvlibrary/opencv-unix/2.4.5/opencv-2.4.5.tar.gz">Download OpenCV 2.4.5</a> |
| 259 | * \code | 259 | * \code |
| 260 | * $ cd ~/Downloads | 260 | * $ cd ~/Downloads |
| 261 | - * $ tar -xf OpenCV-2.4.4.tar.bz2 | ||
| 262 | - * $ cd OpenCV-2.4.4 | 261 | + * $ tar -xf opencv-2.4.5.tar.gz |
| 262 | + * $ cd opencv-2.4.5 | ||
| 263 | * $ mkdir build | 263 | * $ mkdir build |
| 264 | * $ cd build | 264 | * $ cd build |
| 265 | - * $ cmake -DBUILD_opencv_java=OFF -DBUILD_opencv_world=OFF -DCMAKE_BUILD_TYPE=Release .. | 265 | + * $ cmake -DCMAKE_BUILD_TYPE=Release .. |
| 266 | * $ make -j4 | 266 | * $ make -j4 |
| 267 | * $ sudo make install | 267 | * $ sudo make install |
| 268 | * $ cd ../.. | 268 | * $ cd ../.. |
| 269 | - * $ rm -r OpenCV-2.4.4 | 269 | + * $ rm -rf opencv-2.4.5* |
| 270 | * \endcode | 270 | * \endcode |
| 271 | - * -# <a href="http://releases.qt-project.org/qt5/5.0.1/qt-mac-opensource-5.0.1-clang-offline.dmg">Download Qt 5.0.1</a> and install. | 271 | + * -# <a href="http://download.qt-project.org/official_releases/qt/5.0/5.0.2/qt-mac-opensource-5.0.2-clang-offline.dmg">Download and install Qt 5.0.2</a> |
| 272 | * -# Create a <a href="github.com">GitHub</a> account, follow their instructions for <a href="https://help.github.com/articles/set-up-git">setting up Git</a>. | 272 | * -# Create a <a href="github.com">GitHub</a> account, follow their instructions for <a href="https://help.github.com/articles/set-up-git">setting up Git</a>. |
| 273 | * \code | 273 | * \code |
| 274 | * $ git clone https://github.com/biometrics/openbr.git | 274 | * $ git clone https://github.com/biometrics/openbr.git |
| @@ -281,27 +281,34 @@ $ br -help | @@ -281,27 +281,34 @@ $ br -help | ||
| 281 | * $ cd openbr | 281 | * $ cd openbr |
| 282 | * $ mkdir build | 282 | * $ mkdir build |
| 283 | * $ cd build | 283 | * $ cd build |
| 284 | - * $ cmake -DCMAKE_PREFIX_PATH=~/Qt5.0.1/5.0.1/clang_64 -DCMAKE_BUILD_TYPE=Release .. | 284 | + * $ cmake -DCMAKE_PREFIX_PATH=~/Qt5.0.2/5.0.2/clang_64 -DCMAKE_BUILD_TYPE=Release .. |
| 285 | * $ make -j4 | 285 | * $ make -j4 |
| 286 | * $ sudo make install | 286 | * $ sudo make install |
| 287 | * \endcode | 287 | * \endcode |
| 288 | * -# Hack OpenBR! | 288 | * -# Hack OpenBR! |
| 289 | * -# Open Qt Creator IDE | 289 | * -# Open Qt Creator IDE |
| 290 | * \code | 290 | * \code |
| 291 | - * $ open ~/Qt5.0.1/Qt\ Creator.app | 291 | + * $ open ~/Qt5.0.2/Qt\ Creator.app |
| 292 | * \endcode | 292 | * \endcode |
| 293 | * -# From the Qt Creator "File" menu select "Open File or Project...". | 293 | * -# From the Qt Creator "File" menu select "Open File or Project...". |
| 294 | - * -# Select "~/openbr/CMakeLists.txt" then "Open". | ||
| 295 | - * -# Browse to your prexisting build directory "~/openbr/build" then select "Continue". | 294 | + * -# Select "openbr/CMakeLists.txt" then "Open". |
| 295 | + * -# Browse to your prexisting build directory "openbr/build" then select "Continue". | ||
| 296 | * -# Select "Run CMake" then "Done". | 296 | * -# Select "Run CMake" then "Done". |
| 297 | * -# You're all set! You can find more information on Qt Creator <a href="http://qt-project.org/doc/qtcreator">here</a> if you need. | 297 | * -# You're all set! You can find more information on Qt Creator <a href="http://qt-project.org/doc/qtcreator">here</a> if you need. |
| 298 | + * -# (Optional) Test OpenBR! | ||
| 299 | + * \code | ||
| 300 | + * $ cd openbr/scripts | ||
| 301 | + * $ ./downloadDatasets.sh | ||
| 302 | + * $ cd ../build | ||
| 303 | + * $ make test | ||
| 304 | + * \endcode | ||
| 298 | * -# (Optional) Package OpenBR! | 305 | * -# (Optional) Package OpenBR! |
| 299 | * \code | 306 | * \code |
| 300 | * $ cd openbr/build | 307 | * $ cd openbr/build |
| 301 | - * $ make package | 308 | + * $ cpack -G TGZ |
| 302 | * \endcode | 309 | * \endcode |
| 303 | * -# (Optional) Build OpenBR documentation! | 310 | * -# (Optional) Build OpenBR documentation! |
| 304 | - * -# <a href="ftp://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.2.src.tar.gz">Download Doxygen 1.8.2</a> and install: | 311 | + * -# <a href="ftp://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.2.src.tar.gz">Download Doxygen 1.8.2</a> |
| 305 | * \code | 312 | * \code |
| 306 | * $ cd ~/Downloads | 313 | * $ cd ~/Downloads |
| 307 | * $ tar -xf doxygen-1.8.2.src.tar.gz | 314 | * $ tar -xf doxygen-1.8.2.src.tar.gz |
| @@ -310,9 +317,9 @@ $ br -help | @@ -310,9 +317,9 @@ $ br -help | ||
| 310 | * $ make -j4 | 317 | * $ make -j4 |
| 311 | * $ sudo make install | 318 | * $ sudo make install |
| 312 | * $ cd .. | 319 | * $ cd .. |
| 313 | - * $ rm -r doxygen-1.8.2 | 320 | + * $ rm -rf doxygen-1.8.2* |
| 314 | * \endcode | 321 | * \endcode |
| 315 | - * -# Modify build settings and recompile: | 322 | + * -# Modify build settings and recompile. |
| 316 | * \code | 323 | * \code |
| 317 | * $ cd openbr/build | 324 | * $ cd openbr/build |
| 318 | * $ cmake -DBR_BUILD_DOCUMENTATION=ON .. | 325 | * $ cmake -DBR_BUILD_DOCUMENTATION=ON .. |
share/openbr/Doxyfile.in
| @@ -755,7 +755,7 @@ EXAMPLE_RECURSIVE = YES | @@ -755,7 +755,7 @@ EXAMPLE_RECURSIVE = YES | ||
| 755 | # directories that contain image that are included in the documentation (see | 755 | # directories that contain image that are included in the documentation (see |
| 756 | # the \image command). | 756 | # the \image command). |
| 757 | 757 | ||
| 758 | -IMAGE_PATH = ${CMAKE_SOURCE_DIR} | 758 | +IMAGE_PATH = ${CMAKE_SOURCE_DIR}/share/openbr |
| 759 | 759 | ||
| 760 | # The INPUT_FILTER tag can be used to specify a program that doxygen should | 760 | # The INPUT_FILTER tag can be used to specify a program that doxygen should |
| 761 | # invoke to filter for each input file. Doxygen will invoke the filter program | 761 | # invoke to filter for each input file. Doxygen will invoke the filter program |