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
1c60ce30
Commit
1c60ce30
authored
Aug 30, 2019
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
parents
fd004893
bb5dadd7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
15 deletions
+1
-15
aruco.cpp
modules/aruco/src/aruco.cpp
+0
-0
test_arucodetection.cpp
modules/aruco/test/test_arucodetection.cpp
+1
-15
No files found.
modules/aruco/src/aruco.cpp
View file @
1c60ce30
This diff is collapsed.
Click to expand it.
modules/aruco/test/test_arucodetection.cpp
View file @
1c60ce30
...
...
@@ -322,24 +322,10 @@ void CV_ArucoDetectionPerspective::run(int tryWith) {
}
for
(
int
c
=
0
;
c
<
4
;
c
++
)
{
double
dist
=
cv
::
norm
(
groundTruthCorners
[
c
]
-
corners
[
0
][
c
]);
// TODO cvtest
if
(
CV_ArucoDetectionPerspective
::
DETECT_INVERTED_MARKER
==
tryWith
){
if
(
szEnclosed
&&
dist
>
3
){
if
(
dist
>
5
)
{
ts
->
printf
(
cvtest
::
TS
::
LOG
,
"Incorrect marker corners position"
);
ts
->
set_failed_test_info
(
cvtest
::
TS
::
FAIL_BAD_ACCURACY
);
return
;
}
if
(
!
szEnclosed
&&
dist
>
15
){
ts
->
printf
(
cvtest
::
TS
::
LOG
,
"Incorrect marker corners position"
);
ts
->
set_failed_test_info
(
cvtest
::
TS
::
FAIL_BAD_ACCURACY
);
return
;
}
}
else
{
if
(
dist
>
5
)
{
ts
->
printf
(
cvtest
::
TS
::
LOG
,
"Incorrect marker corners position"
);
ts
->
set_failed_test_info
(
cvtest
::
TS
::
FAIL_BAD_ACCURACY
);
return
;
}
}
}
}
...
...
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