/apriltags-lib

apriltags detection library, originally from Michael Kaess via Kalibr project, standalone C++ version

Primary LanguageC++GNU Lesser General Public License v2.1LGPL-2.1

apriltags-lib

how-to-export-cpp-library

This is a port of Michael Kaess' AprilTags 2012 library to 2020. The only difference in the code are the notes below, and AprilTags is changed from camel case to lower case apriltags as in the Kalibr tool.

There are other AprilTag(s) libraries. One for ROS is AprilRobotics/apriltag_ros.

Description of changes

  • Updating to OpenCV 3.x
  • Updating changes in Eigen
  • Creating a cmake build process so the library can be included in projects with find_package(apriltags REQUIRED)

How to build and test

cd how-to-export-cpp-library
mkdir build && cd build
cmake ..
cmake --build .

To test,

cd bin
./example ../../test-image.jpg 

Then, to install the library,

sudo make install