Technical requirements
The technologies and softwares used in this chapter are the following:
- OpenCV v3 or v4 Android SDK compiled with the ArUco contrib module: https://github.com/Mainvooid/opencv-android-sdk-with-contrib
- Android Studio v3.2+
- Android device running Android OS v6.0+
Build instructions for these components, as well as the code to implement the concepts presented in this chapter, will be provided in the accompanying code repository.
To run the examples, a printed calibration board is required. The board image can be generated programmatically with the ArUco cv::aruco::CharucoBoard::draw
function, and can then be printed using a home printer. The board works best if it is glued to a hard surface, such as a cardboard or plastic sheet. After printing the board, precise measurements of the board marker's size should be taken (with a ruler or caliper), to make the calibration results more accurate and true to the real world.
The code for this chapter can be accessed through GitHub: https...