You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- The first parameter is the size of the output image in pixels. In this case 600x500 pixels. If this is not proportional
146
146
to the board dimensions, it will be centered on the image.
@@ -156,13 +156,13 @@ The output image will be something like this:
156
156
A full working example of board creation is included in the ```create_board.cpp``` inside the module samples folder.
157
157
158
158
Note: The samples now take input via commandline via the [OpenCV Commandline Parser](http://docs.opencv.org/trunk/d0/d2e/classcv_1_1CommandLineParser.html#gsc.tab=0). For this file the example parameters will look like
@@ -199,7 +199,7 @@ Finally, a full example of board detection:
199
199
if (key == 27)
200
200
break;
201
201
}
202
-
```
202
+
@endcode
203
203
204
204
Sample video:
205
205
@@ -210,9 +210,9 @@ Sample video:
210
210
A full working example is included in the ```detect_board.cpp``` inside the module samples folder.
211
211
212
212
Note: The samples now take input via commandline via the [OpenCV Commandline Parser](http://docs.opencv.org/trunk/d0/d2e/classcv_1_1CommandLineParser.html#gsc.tab=0). For this file the example parameters will look like
The ChArUco corners and ChArUco identifiers captured on each viewpoint are stored in the vectors ```allCharucoCorners``` and ```allCharucoIds```, one element per viewpoint.
54
54
@@ -62,9 +62,9 @@ Finally, the ```calibrationFlags``` parameter determines some of the options for
62
62
A full working example is included in the ```calibrate_camera_charuco.cpp``` inside the module samples folder.
63
63
64
64
Note: The samples now take input via commandline via the [OpenCV Commandline Parser](http://docs.opencv.org/trunk/d0/d2e/classcv_1_1CommandLineParser.html#gsc.tab=0). For this file the example parameters will look like
In this case, and contrary to the ```calibrateCameraCharuco()``` function, the detected markers on each viewpoint are concatenated in the arrays ```allCornersConcatenated``` and
103
103
```allCornersConcatenated``` (the first two parameters). The third parameter, the array ```markerCounterPerFrame```, indicates the number of marker detected on each viewpoint.
@@ -107,6 +107,6 @@ any ```Board``` object.
107
107
A full working example is included in the ```calibrate_camera.cpp``` inside the module samples folder.
108
108
109
109
Note: The samples now take input via commandline via the [OpenCV Commandline Parser](http://docs.opencv.org/trunk/d0/d2e/classcv_1_1CommandLineParser.html#gsc.tab=0). For this file the example parameters will look like
First, the ```Dictionary``` object is created by choosing one of the predefined dictionaries in the aruco module.
79
79
Concretely, this dictionary is composed by 250 markers and a marker size of 6x6 bits (```DICT_6X6_250```).
@@ -104,9 +104,9 @@ The generated image is:
104
104
A full working example is included in the ```create_marker.cpp``` inside the module samples folder.
105
105
106
106
Note: The samples now take input via commandline via the [OpenCV Commandline Parser](http://docs.opencv.org/trunk/d0/d2e/classcv_1_1CommandLineParser.html#gsc.tab=0). For this file the example parameters will look like
Note that some of the optional parameters have been omitted, like the detection parameter object or the
229
229
output vector of rejected candidates.
230
230
231
231
A full working example is included in the ```detect_markers.cpp``` inside the module samples folder.
232
232
233
233
Note: The samples now take input via commandline via the [OpenCV Commandline Parser](http://docs.opencv.org/trunk/d0/d2e/classcv_1_1CommandLineParser.html#gsc.tab=0). For this file the example parameters will look like
234
-
``` c++
234
+
@code{.cpp}
235
235
-c="_path_/calib.txt" -d=10
236
-
```
236
+
@endcode
237
237
238
238
239
239
@@ -262,12 +262,12 @@ information).
262
262
263
263
The aruco module provides a function to estimate the poses of all the detected markers:
-```image``` is the input/output image where the axis will be drawn (it will normally be the same image where the markers were detected).
292
292
-```cameraMatrix``` and ```distCoeffs``` are the camera calibration parameters.
@@ -295,7 +295,7 @@ checked:
295
295
296
296
A basic full example for pose estimation from single markers:
297
297
298
-
```c++
298
+
@code{.cpp}
299
299
cv::VideoCapture inputVideo;
300
300
inputVideo.open(0);
301
301
@@ -330,7 +330,7 @@ A basic full example for pose estimation from single markers:
330
330
if (key == 27)
331
331
break;
332
332
}
333
-
```
333
+
@endcode
334
334
335
335
Sample video:
336
336
@@ -341,9 +341,9 @@ Sample video:
341
341
A full working example is included in the ```detect_markers.cpp``` inside the module samples folder.
342
342
343
343
Note: The samples now take input via commandline via the [OpenCV Commandline Parser](http://docs.opencv.org/trunk/d0/d2e/classcv_1_1CommandLineParser.html#gsc.tab=0). For this file the example parameters will look like
344
-
``` c++
344
+
@code{.cpp}
345
345
-c="_path_/calib.txt" -d=10
346
-
```
346
+
@endcode
347
347
348
348
349
349
@@ -373,9 +373,9 @@ you can increase your system robustness:
373
373
This is the easiest way to select a dictionary. The aruco module includes a set of predefined dictionaries
374
374
of a variety of marker sizes and number of markers. For instance:
0 commit comments