@@ -144,6 +144,8 @@ enum CornerRefineMethod{
144
144
* done at full resolution.
145
145
* - aprilTagQuadSigma: What Gaussian blur should be applied to the segmented image (used for quad detection?)
146
146
* Parameter is the standard deviation in pixels. Very noisy images benefit from non-zero values (e.g. 0.8).
147
+ * - detectInvertedMarker: to check if there is a white marker. In order to generate a "white" marker just
148
+ * invert a normal marker by using a tilde, ~markerImage. (default false)
147
149
*/
148
150
struct CV_EXPORTS_W DetectorParameters {
149
151
@@ -183,6 +185,9 @@ struct CV_EXPORTS_W DetectorParameters {
183
185
CV_PROP_RW float aprilTagMaxLineFitMse;
184
186
CV_PROP_RW int aprilTagMinWhiteBlackDiff;
185
187
CV_PROP_RW int aprilTagDeglitch;
188
+
189
+ // to detect white (inverted) markers
190
+ CV_PROP_RW bool detectInvertedMarker;
186
191
};
187
192
188
193
@@ -257,7 +262,7 @@ CV_EXPORTS_W void estimatePoseSingleMarkers(InputArrayOfArrays corners, float ma
257
262
/* *
258
263
* @brief Board of markers
259
264
*
260
- * A board is a set of markers in the 3D space with a common cordinate system.
265
+ * A board is a set of markers in the 3D space with a common coordinate system.
261
266
* The common form of a board of marker is a planar (2D) board, however any 3D layout can be used.
262
267
* A Board object is composed by:
263
268
* - The object points of the marker corners, i.e. their coordinates respect to the board system.
@@ -268,7 +273,7 @@ class CV_EXPORTS_W Board {
268
273
269
274
public:
270
275
/* *
271
- * @brief Provide way to create Board by passing nessesary data. Specially needed in Python.
276
+ * @brief Provide way to create Board by passing necessary data. Specially needed in Python.
272
277
*
273
278
* @param objPoints array of object points of all the marker corners in the board
274
279
* @param dictionary the dictionary of markers employed for this board
@@ -292,7 +297,7 @@ class CV_EXPORTS_W Board {
292
297
293
298
/* *
294
299
* @brief Planar board with grid arrangement of markers
295
- * More common type of board. All markers are placed in the same plane in a grid arrangment .
300
+ * More common type of board. All markers are placed in the same plane in a grid arrangement .
296
301
* The board can be drawn using drawPlanarBoard() function (@sa drawPlanarBoard)
297
302
*/
298
303
class CV_EXPORTS_W GridBoard : public Board {
0 commit comments