AruCo Markers

From Rsewiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "==== 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 ...")
 
Line 11: Line 11:
 
When a new detection of AcUco markers is wantet, simply call the function:
 
When a new detection of AcUco markers is wantet, simply call the function:
 
  cam->startWebcamMonitoring();
 
  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:
 
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;
 
  cam->arUcoVal[30].disteance2marker;

Revision as of 13:59, 26 August 2019

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;
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox