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
Copy file name to clipboardExpand all lines: modules/aruco/tutorials/aruco_faq/aruco_faq.markdown
+14-2
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,8 @@ in the ```DetectorParameters``` object. The first thing you can do is checking i
26
26
as rejected candidates by the ```detectMarkers()``` function. Depending on this, you should try to modify different parameters.
27
27
28
28
If you are using a ArUco board, you can also try the ```refineDetectedMarkers()``` function.
29
+
If you are [using big markers](https://github.com/opencv/opencv_contrib/issues/2811) (400x400 pixels and more), try increasing ```adaptiveThreshWinSizeMax``` value.
30
+
Also avoid [narrow borders](https://github.com/opencv/opencv_contrib/issues/2492) (5% or less of the marker perimeter, adjusted by ```minMarkerDistanceRate```) around markers.
29
31
30
32
31
33
- What are the benefits of ArUco boards? What are the drawbacks?
@@ -101,7 +103,7 @@ correction during the identification step.
101
103
Dictionary generation should only be done once at the beginning of your application and it should take some seconds. If you are
102
104
generating the dictionary on each iteration of your detection loop, you are doing it wrong.
103
105
104
-
Furthermore, it is recommendable to save the dictionary to a file and read it on every execution so you dont need to generate it.
106
+
Furthermore, it is recommendable to save the dictionary to a file with ```cv::aruco::Dictionary::writeDictionary()```and read it with ```cv::aruco::Dictionary::readDictionary()```on every execution, so you don't need to generate it.
105
107
106
108
107
109
- I would like to use some markers of the original ArUco library that I have already printed, can I use them?
@@ -131,7 +133,7 @@ If you manually modify the marker ids of the boards, or if you use a different t
131
133
132
134
- Does the aruco module provide functions to save the Dictionary or Board to file?
133
135
134
-
Not right now. However the data member of both the dictionary and board classes are public and can be easily stored.
136
+
You can use ```cv::aruco::Dictionary::writeDictionary()``` and ```cv::aruco::Dictionary::readDictionary()``` for ```cv::aruco::Dictionary```. The data member of board classes are public and can be easily stored.
135
137
136
138
137
139
- Alright, but how can I render a 3d model to create an augmented reality application?
@@ -149,3 +151,13 @@ You can cite the original ArUco library:
149
151
> S. Garrido-Jurado, R. Muñoz-Salinas, F. J. Madrid-Cuevas, and M. J. Marín-Jiménez. 2014.
150
152
> "Automatic generation and detection of highly reliable fiducial markers under occlusion".
0 commit comments