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
604adc09
Commit
604adc09
authored
Oct 20, 2016
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #822 from paroj:aruco_round
parents
0014f1d0
2bf5b806
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
aruco.cpp
modules/aruco/src/aruco.cpp
+1
-1
dictionary.cpp
modules/aruco/src/dictionary.cpp
+1
-1
No files found.
modules/aruco/src/aruco.cpp
View file @
604adc09
...
...
@@ -1505,7 +1505,7 @@ void _drawPlanarBoardImpl(Board *_board, Size outSize, OutputArray _img, int mar
pf
-=
Point2f
(
minX
,
minY
);
pf
.
x
=
pf
.
x
/
sizeX
*
float
(
out
.
cols
);
pf
.
y
=
(
1.0
f
-
pf
.
y
/
sizeY
)
*
float
(
out
.
rows
);
outCorners
[
j
]
=
Point
(
pf
)
;
outCorners
[
j
]
=
pf
;
}
// get marker
...
...
modules/aruco/src/dictionary.cpp
View file @
604adc09
...
...
@@ -163,7 +163,7 @@ int Dictionary::getDistanceToId(InputArray bits, int id, bool allRotations) cons
*/
void
Dictionary
::
drawMarker
(
int
id
,
int
sidePixels
,
OutputArray
_img
,
int
borderBits
)
const
{
CV_Assert
(
sidePixels
>
markerSize
);
CV_Assert
(
sidePixels
>
=
(
markerSize
+
2
*
borderBits
)
);
CV_Assert
(
id
<
bytesList
.
rows
);
CV_Assert
(
borderBits
>
0
);
...
...
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