Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
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
Commits
aaa30dc5
Commit
aaa30dc5
authored
Feb 25, 2016
by
Vitaly Tuzov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make some tests less strict due to improvement of related algorithms in master branch
parent
e0f426f7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
test_feature_homography.py
modules/python/test/test_feature_homography.py
+1
-1
test_mser.py
modules/python/test/test_mser.py
+1
-1
No files found.
modules/python/test/test_feature_homography.py
View file @
aaa30dc5
...
...
@@ -43,7 +43,7 @@ class feature_homography_test(NewOpenCVTests):
def
test_feature_homography
(
self
):
self
.
render
=
TestSceneRender
(
self
.
get_sample
(
'samples/data/graf1.png'
),
self
.
get_sample
(
'samples/data/box.png'
),
noise
=
0.
5
,
speed
=
0.5
)
self
.
get_sample
(
'samples/data/box.png'
),
noise
=
0.
4
,
speed
=
0.5
)
self
.
frame
=
self
.
render
.
getNextFrame
()
self
.
tracker
=
PlaneTracker
()
self
.
tracker
.
clear
()
...
...
modules/python/test/test_mser.py
View file @
aaa30dc5
...
...
@@ -40,7 +40,7 @@ class mser_test(NewOpenCVTests):
use_big_image
=
int
(
np
.
random
.
rand
(
1
,
1
)
*
7
)
!=
0
invert
=
int
(
np
.
random
.
rand
(
1
,
1
)
*
2
)
!=
0
binarize
=
int
(
np
.
random
.
rand
(
1
,
1
)
*
5
)
!=
0
if
use_big_image
else
False
blur
=
int
(
np
.
random
.
rand
(
1
,
1
)
*
2
)
!=
0
blur
=
True
#int(np.random.rand(1,1)*2) != 0 #binarized images are processed incorrectly
thresh
=
thresharr
[
int
(
np
.
random
.
rand
(
1
,
1
)
*
5
)]
src0
=
img
if
use_big_image
else
np
.
array
(
smallImg
)
.
astype
(
'uint8'
)
src
=
src0
.
copy
()
...
...
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