AruCo Markers
From Rsewiki
ArUco functions and camera calibration overview
The ArUco functions in the camera class are meant as an inspiration, to give a starting point to people, who want to use the OpenCv ArUco library.
Settings
Some of the settings is dependable of the printed ArUcu markers and the hardware (camera) used to detect. So the first thing to do, when starting a new project is to check and if necessary update this parameter.
How to use the functions from the umission
When a new detection of AcUco markers is wantet, simply call the function:
cam->startWebcamMonitoring();
The function takes a picture and run trough all the AruCo functions. The results is saved in an array of structs called arUcoVal. The values are directly azzessable fra umission. For example can the distance to the AruCo marker 30, be accessed in the following way:
cam->arUcoVal[30].disteance2marker;