Commit add51828a38bf5b8803c6177bc83cdad8fdad236

Authored by Scott Klum
1 parent 559b8d01

Added Raspbian documentation

Showing 1 changed file with 65 additions and 0 deletions
openbr/openbr_export.cpp
... ... @@ -59,6 +59,7 @@
59 59 * - \subpage windows_msvc
60 60 * - \subpage osx_clang
61 61 * - \subpage linux_gcc
  62 + * - \subpage raspbian_gcc
62 63 *
63 64 * \section installation_from_binary From Binary
64 65 * Pre-compiled releases are not currently provided, but they can be built from source using the instructions above.
... ... @@ -318,6 +319,70 @@ $ br -help
318 319 \endcode
319 320 */
320 321  
  322 +/*!
  323 + * \page raspbian_gcc Raspbian 3.0.1 - GCC 4.6.3 - ARMv6
  324 + * -# Install CMake 2.8.9
  325 + \code
  326 + $ sudo apt-get install cmake
  327 + \endcode
  328 + * -# Download OpenCV 2.4.9
  329 + \code
  330 + $ wget http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.9/opencv-2.4.9.zip
  331 + $ unzip opencv-2.4.9.zip
  332 + $ cd opencv-2.4.9
  333 + $ mkdir build
  334 + $ cd build
  335 + $ cmake -DCMAKE_BUILD_TYPE=Release ..
  336 + $ make
  337 + $ sudo make install
  338 + $ cd ../..
  339 + $ rm -rf opencv-2.4.9*
  340 + \endcode
  341 + * -# Install Qt5
  342 + * -# Modify source list
  343 + \code
  344 + $ nano /etc/apt/sources.list
  345 + \endcode
  346 + by changing:
  347 + \code
  348 + deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
  349 + \endcode
  350 + to:
  351 + \code
  352 + deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
  353 + \endcode
  354 + * -# Update apt-get
  355 + \code
  356 + $ sudo apt-get update
  357 + \endcode
  358 + * -# Install packages
  359 + \code
  360 + $ sudo apt-get install qt5-default libqt5svg5-dev
  361 + \endcode
  362 + * -# 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>.
  363 + \code
  364 + $ git clone https://github.com/biometrics/openbr.git
  365 + $ cd openbr
  366 + $ git submodule init
  367 + $ git submodule update
  368 + \endcode
  369 + * -# Build OpenBR!
  370 + \code
  371 + $ mkdir build # from the OpenBR root directory
  372 + $ cd build
  373 + $ cmake -DCMAKE_BUILD_TYPE=Release ..
  374 + $ make
  375 + $ sudo make install
  376 + \endcode
  377 + * -# (Optional) Test OpenBR!
  378 + \code
  379 + $ cd openbr/scripts
  380 + $ ./downloadDatasets.sh
  381 + $ cd ../build
  382 + $ make test
  383 + \endcode
  384 +*/
  385 +
321 386 /*!
322 387 * \page help Help
323 388 * - Developer mailing list: <a href="https://groups.google.com/forum/?fromgroups#!forum/openbr-dev">openbr-dev@googlegroups.com</a>
... ...