ArUco is a library for Augmented Reality applications with a BSD license. The main features of ArUco are: detect markers with a single line of C++ code, detection of AR boards (markers composed by several markers), up to to 1024 different markers, trivial integration with OpenGL and OGRE, fast, reliable and cross-platform. ArUco will help you to get running your AR application in less than 5 minutes.
Install ArUco is simple, just follow these steps:
1. INSTALL OPENCV
The first step is install OpenCV on Ubuntu Linux.
3. DOWNLOAD AND DECOMPRESS ARUCO
Enter the ArUco official website and download the latest version for ArUco. Then decompress the downloaded file.
4. COMPILE ARUCO
Now, in your terminal, make sure you are within the ArUco directory and run the following commands:
5. CONFIGURE ARUCO
In your terminal, execute:
Add the following line and save it:
Now, in your terminal, execute:
Check if the following two lines are at the end of the file. If not, add them and save the file:
Finally, reboot your computer.
6. TRY AN EXAMPLE
To test an example, from your terminal enters in the ArUco folder. Once you're inside it, enters in build/utils. Now, execute:
With this, we have created a marker board with a size of 5×2. The image is board.png and board.yml is the board configuration.