create new tag
, view all tags

Step 12 - Installing Open CV

To install OpenCV using the terminal directly on the Beagleboard (you need to plug a mouse, a keyboard and a display) or you can continue to use minicom to type the following sequence of commands. Don’t forget that after the reboot you need to do the internet configuration again.

Essentials packages

  1. Get the essentials packages with this command:
    $ sudo apt-get install build-essential libavformat-dev ffmpeg
  2. We also need to get some other languages going, (the linux command line is called Bash, and can also read shell by putting "sh" in front of the shell script
    $ sudo apt-get -yqq install libc6-dev g++ gcc


This following sequence of commands is to install ARToolKitPlus, a library for the tracking of markers. You need to copy the ARToolKitPLus directorie on the beagleboard. To do that, shutdown the beagleboard and insert the SD cart into your laptop. Paste theARToolkitPlus directory to rootfs/home/ubuntu/Desktop. Then reboot the beagleboard with the SD cart and type the following commands.

  1. Unpack with this command
    $ tar -xvf ARToolKitPlus-2.2.1.tar.bz2
  2. Then install with the following commands
    $ cd Desktop/ARToolKitPlus
    $ mkdir build
    $ cd build
    $ cmake ..
    $ make
    $ sudo make install
  3. Alternatively, you can also get ARToolKitPlus with this command
    =$ wget http://launchpad.net/artoolkitplus/trunk/2.2.1/+download/ARToolKitPlus-2.2.1.tar.bz2=


  1. Download OpenCV 2.3.0
    =$ wget http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3/OpenCV-2.3.0.tar.bz2=
  2. Unpack archive and navigate to the newly created folder containing the OpenCV source
    $ tar -xvf OpenCV-2.3.0.tar.bz2
    $ cd OpenCV-2.3.0
  3. Create a new folder and navigate to it (the build files generated by CMake will go into this folder): $ mkdir release $ cd release
  4. Edit the CMake file to enable OPENNI drivers for kinect
  5. Compile and install OpenCV:
    =$ sudo make install=

-- AlYoung - 2013-01-09

Topic revision: r2 - 2013-02-18 - AlYoung
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback