Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv_contrib
Commits
2de6ff57
Commit
2de6ff57
authored
Sep 21, 2015
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #376 from sergarrido:aruco_bugs
parents
d783cbef
c5d618f7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
aruco.hpp
modules/aruco/include/opencv2/aruco.hpp
+1
-1
aruco.cpp
modules/aruco/src/aruco.cpp
+2
-2
dictionary.cpp
modules/aruco/src/dictionary.cpp
+1
-1
aruco_detection.markdown
.../aruco/tutorials/aruco_detection/aruco_detection.markdown
+1
-1
No files found.
modules/aruco/include/opencv2/aruco.hpp
View file @
2de6ff57
...
...
@@ -114,7 +114,7 @@ namespace aruco {
* size of the cell, i.e. perpectiveRemovePixelPerCell (default 0.13)
* - maxErroneousBitsInBorderRate: maximum number of accepted erroneous bits in the border (i.e.
* number of allowed white bits in the border). Represented as a rate respect to the total
* number of bits per marker (default 0.5).
* number of bits per marker (default 0.
3
5).
* - minOtsuStdDev: minimun standard deviation in pixels values during the decodification step to
* apply Otsu thresholding (otherwise, all the bits are set to 0 or 1 depending on mean higher
* than 128 or not) (default 5.0)
...
...
modules/aruco/src/aruco.cpp
View file @
2de6ff57
...
...
@@ -71,7 +71,7 @@ DetectorParameters::DetectorParameters()
markerBorderBits
(
1
),
perspectiveRemovePixelPerCell
(
4
),
perspectiveRemoveIgnoredMarginPerCell
(
0.13
),
maxErroneousBitsInBorderRate
(
0.5
),
maxErroneousBitsInBorderRate
(
0.
3
5
),
minOtsuStdDev
(
5.0
),
errorCorrectionRate
(
0.6
)
{}
...
...
@@ -123,7 +123,7 @@ static void _findMarkerContours(InputArray _in, vector< vector< Point2f > > &can
Mat
contoursImg
;
_in
.
getMat
().
copyTo
(
contoursImg
);
vector
<
vector
<
Point
>
>
contours
;
findContours
(
contoursImg
,
contours
,
RETR_
EXTERNAL
,
CHAIN_APPROX_NONE
);
findContours
(
contoursImg
,
contours
,
RETR_
LIST
,
CHAIN_APPROX_NONE
);
// now filter list of contours
for
(
unsigned
int
i
=
0
;
i
<
contours
.
size
();
i
++
)
{
// check perimeter
...
...
modules/aruco/src/dictionary.cpp
View file @
2de6ff57
...
...
@@ -246,7 +246,7 @@ Mat Dictionary::getBitsFromByteList(const Mat &byteList, int markerSize) {
// DictionaryData constructors calls
const
Dictionary
DICT_ARUCO_DATA
=
Dictionary
(
&
(
DICT_ARUCO_BYTES
[
0
][
0
][
0
]),
5
,
1024
,
1
);
const
Dictionary
DICT_ARUCO_DATA
=
Dictionary
(
&
(
DICT_ARUCO_BYTES
[
0
][
0
][
0
]),
5
,
1024
,
0
);
const
Dictionary
DICT_4X4_50_DATA
=
Dictionary
(
&
(
DICT_4X4_1000_BYTES
[
0
][
0
][
0
]),
4
,
50
,
1
);
const
Dictionary
DICT_4X4_100_DATA
=
Dictionary
(
&
(
DICT_4X4_1000_BYTES
[
0
][
0
][
0
]),
4
,
100
,
1
);
...
...
modules/aruco/tutorials/aruco_detection/aruco_detection.markdown
View file @
2de6ff57
...
...
@@ -665,7 +665,7 @@ The bits of the marker border should be black. This parameter specifies the allo
bits in the border, i.e. the maximum number of white bits in the border. It is represented
relative to the total number of bits in the marker.
Default value: 0.5
Default value: 0.
3
5
- ```
double errorCorrectionRate
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment