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 | 24 | * OpenBR originated within The MITRE Corporation from a need to streamline the process of prototyping new algorithms. |
| 25 | 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 | 29 | * \section get_started Get Started |
| 30 | 30 | * - \ref installation - \copybrief installation |
| ... | ... | @@ -70,13 +70,13 @@ $ export DYLD_FRAMEWORK_PATH=../lib:${DYLD_FRAMEWORK_PATH} |
| 70 | 70 | * No configuration is necessary! |
| 71 | 71 | * |
| 72 | 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 | 74 | * No configuration of the dongle is needed. |
| 75 | 75 | * |
| 76 | 76 | * \section installation_done Start Working |
| 77 | 77 | * To test for successful installation: |
| 78 | 78 | \verbatim |
| 79 | -$ cd bin/ | |
| 79 | +$ cd bin | |
| 80 | 80 | $ br -help |
| 81 | 81 | \endverbatim |
| 82 | 82 | */ |
| ... | ... | @@ -244,7 +244,7 @@ $ br -help |
| 244 | 244 | /*! |
| 245 | 245 | * \page osx_clang OS X Mountain Lion - Clang/LLVM 3.1 - x64 |
| 246 | 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 | 248 | * \code |
| 249 | 249 | * $ cd ~/Downloads |
| 250 | 250 | * $ tar -xf cmake-2.8.10.2.tar.gz |
| ... | ... | @@ -253,22 +253,22 @@ $ br -help |
| 253 | 253 | * $ make -j4 |
| 254 | 254 | * $ sudo make install |
| 255 | 255 | * $ cd .. |
| 256 | - * $ rm -r cmake-2.8.10.2 | |
| 256 | + * $ rm -rf cmake-2.8.10.2* | |
| 257 | 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 | 259 | * \code |
| 260 | 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 | 263 | * $ mkdir build |
| 264 | 264 | * $ cd build |
| 265 | - * $ cmake -DBUILD_opencv_java=OFF -DBUILD_opencv_world=OFF -DCMAKE_BUILD_TYPE=Release .. | |
| 265 | + * $ cmake -DCMAKE_BUILD_TYPE=Release .. | |
| 266 | 266 | * $ make -j4 |
| 267 | 267 | * $ sudo make install |
| 268 | 268 | * $ cd ../.. |
| 269 | - * $ rm -r OpenCV-2.4.4 | |
| 269 | + * $ rm -rf opencv-2.4.5* | |
| 270 | 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 | 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 | 273 | * \code |
| 274 | 274 | * $ git clone https://github.com/biometrics/openbr.git |
| ... | ... | @@ -281,27 +281,34 @@ $ br -help |
| 281 | 281 | * $ cd openbr |
| 282 | 282 | * $ mkdir build |
| 283 | 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 | 285 | * $ make -j4 |
| 286 | 286 | * $ sudo make install |
| 287 | 287 | * \endcode |
| 288 | 288 | * -# Hack OpenBR! |
| 289 | 289 | * -# Open Qt Creator IDE |
| 290 | 290 | * \code |
| 291 | - * $ open ~/Qt5.0.1/Qt\ Creator.app | |
| 291 | + * $ open ~/Qt5.0.2/Qt\ Creator.app | |
| 292 | 292 | * \endcode |
| 293 | 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 | 296 | * -# Select "Run CMake" then "Done". |
| 297 | 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 | 305 | * -# (Optional) Package OpenBR! |
| 299 | 306 | * \code |
| 300 | 307 | * $ cd openbr/build |
| 301 | - * $ make package | |
| 308 | + * $ cpack -G TGZ | |
| 302 | 309 | * \endcode |
| 303 | 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 | 312 | * \code |
| 306 | 313 | * $ cd ~/Downloads |
| 307 | 314 | * $ tar -xf doxygen-1.8.2.src.tar.gz |
| ... | ... | @@ -310,9 +317,9 @@ $ br -help |
| 310 | 317 | * $ make -j4 |
| 311 | 318 | * $ sudo make install |
| 312 | 319 | * $ cd .. |
| 313 | - * $ rm -r doxygen-1.8.2 | |
| 320 | + * $ rm -rf doxygen-1.8.2* | |
| 314 | 321 | * \endcode |
| 315 | - * -# Modify build settings and recompile: | |
| 322 | + * -# Modify build settings and recompile. | |
| 316 | 323 | * \code |
| 317 | 324 | * $ cd openbr/build |
| 318 | 325 | * $ cmake -DBR_BUILD_DOCUMENTATION=ON .. | ... | ... |
share/openbr/Doxyfile.in
| ... | ... | @@ -755,7 +755,7 @@ EXAMPLE_RECURSIVE = YES |
| 755 | 755 | # directories that contain image that are included in the documentation (see |
| 756 | 756 | # the \image command). |
| 757 | 757 | |
| 758 | -IMAGE_PATH = ${CMAKE_SOURCE_DIR} | |
| 758 | +IMAGE_PATH = ${CMAKE_SOURCE_DIR}/share/openbr | |
| 759 | 759 | |
| 760 | 760 | # The INPUT_FILTER tag can be used to specify a program that doxygen should |
| 761 | 761 | # invoke to filter for each input file. Doxygen will invoke the filter program | ... | ... |