Skip to content

Commit a6c5cc6

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 5dd23ee + 0915b7e commit a6c5cc6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+4565
-420
lines changed

modules/aruco/include/opencv2/aruco.hpp

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ enum CornerRefineMethod{
144144
* done at full resolution.
145145
* - aprilTagQuadSigma: What Gaussian blur should be applied to the segmented image (used for quad detection?)
146146
* 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)
147149
*/
148150
struct CV_EXPORTS_W DetectorParameters {
149151

@@ -183,6 +185,9 @@ struct CV_EXPORTS_W DetectorParameters {
183185
CV_PROP_RW float aprilTagMaxLineFitMse;
184186
CV_PROP_RW int aprilTagMinWhiteBlackDiff;
185187
CV_PROP_RW int aprilTagDeglitch;
188+
189+
// to detect white (inverted) markers
190+
CV_PROP_RW bool detectInvertedMarker;
186191
};
187192

188193

@@ -257,7 +262,7 @@ CV_EXPORTS_W void estimatePoseSingleMarkers(InputArrayOfArrays corners, float ma
257262
/**
258263
* @brief Board of markers
259264
*
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.
261266
* The common form of a board of marker is a planar (2D) board, however any 3D layout can be used.
262267
* A Board object is composed by:
263268
* - 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 {
268273

269274
public:
270275
/**
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.
272277
*
273278
* @param objPoints array of object points of all the marker corners in the board
274279
* @param dictionary the dictionary of markers employed for this board
@@ -292,7 +297,7 @@ class CV_EXPORTS_W Board {
292297

293298
/**
294299
* @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.
296301
* The board can be drawn using drawPlanarBoard() function (@sa drawPlanarBoard)
297302
*/
298303
class CV_EXPORTS_W GridBoard : public Board {

0 commit comments

Comments
 (0)