Artoolkittracker

From Wiki for iCub and Friends
Jump to navigation Jump to search
The correct title of this article is Artoolkittracker. The initial letter is shown capitalized due to technical restrictions.

Author: Manuel Lopes, Alexandre Bernardino

Uses artoolkit to detect and track special markers.


installation instructions

sudo apt-get install glutg3
sudo apt-get install glutg3-dev
sudo apt-get install libxmu-dev
download artoolkit
http://www.hitl.washington.edu/artoolkit/documentation/usersetup.htm#comp_linux
install artoolkit
tar zxvf ARToolKit-2.71.tgz
cd {ARToolKit}
./Configure
make
copy the AR directory under include to /usr/include
and copy the libs to /usr/lib
----
install the ARToolKitTracker:
/icub/src/artoolkittracker/
(some problems could appear during compiling, because there are some fixed path in the CMakeList.txt: 
Linux
INCLUDE_DIRECTORIES( /../Downloads/ARToolKit/include ${OPENCV_INCLUDE_DIR})
LINK_LIBRARIES( /../Downloads/ARToolKit/lib/libAR.a ${OPENCV_LIBRARIES})
)