ArUco Unity
Bring augmented reality to your Unity project by tracking position and orientation of ArUco markers in real time. Standard mono cameras, such as webcams, but also stereo cameras and fisheye lenses are supported.
It uses under the hood the OpenCV’s ArUco Marker Detection module and the OpenCV’s camera calibration modules calib3d and ccalib.
The markers tracking allow to extend the phone’s screen.
Installation
Download the latest build release, or see the Build section. Import the package in your Unity project.
Usage
Please read the wiki:
Build
Read the Build wiki page.
Documentation
The documentation is available online:
- The library: https://enormand.github.io/aruco-unity/group__aruco__unity__lib.html
- The Unity package: https://enormand.github.io/aruco-unity/group__aruco__unity__package.html
Contributions
If you’d like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
Support
This first version of this project has been developed as part of the master thesis of Erwan Normand was supported by the ÉTS - École de Technologie Supérieure. I’m developing the second version on my own.
Licenses
See the LICENSE file for license rights and limitations (3-clause BSD license).
See the 3rdparty folder for licenses of the third-party dependencies. ArUco Unity makes use of the following projects:
- OpenCV with the following modules:
- Google Test
The OpenCV’s Aruco module implements this paper:
Garrido-Jurado, S., Muñoz-Salinas, R., Madrid-Cuevas, F. J., & Marín-Jiménez, M. J. (2014). Automatic generation and detection of highly reliable fiducial markers under occlusion. Pattern Recognition, 47(6), 2280-2292.