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
c8bfc0fd
Commit
c8bfc0fd
authored
Sep 03, 2012
by
yao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A little fix to ocl accuracy tests, make them more uniformed
parent
0fdb55a5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
test_canny.cpp
modules/ocl/test/test_canny.cpp
+2
-6
test_hog.cpp
modules/ocl/test/test_hog.cpp
+1
-1
No files found.
modules/ocl/test/test_canny.cpp
View file @
c8bfc0fd
...
...
@@ -45,11 +45,7 @@
#include "precomp.hpp"
#ifdef WIN32
#define FILTER_IMAGE "C:/Users/Public/Pictures/Sample Pictures/Penguins.jpg"
#else
#define FILTER_IMAGE "/Users/Test/Valve_original.PNG" // user need to specify a valid image path
#endif
#define FILTER_IMAGE "../../../samples/gpu/road.png"
#define SHOW_RESULT 0
////////////////////////////////////////////////////////
...
...
@@ -107,6 +103,6 @@ TEST_P(Canny, Accuracy)
EXPECT_MAT_SIMILAR
(
edges_gold
,
edges
,
1e-2
);
}
INSTANTIATE_TEST_CASE_P
(
ocl
_ImgProc
,
Canny
,
testing
::
Combine
(
INSTANTIATE_TEST_CASE_P
(
GPU
_ImgProc
,
Canny
,
testing
::
Combine
(
testing
::
Values
(
AppertureSize
(
3
),
AppertureSize
(
5
)),
testing
::
Values
(
L2gradient
(
false
),
L2gradient
(
true
))));
modules/ocl/test/test_hog.cpp
View file @
c8bfc0fd
...
...
@@ -184,7 +184,7 @@ TEST_P(HOG, Detect)
}
INSTANTIATE_TEST_CASE_P
(
OCL_ObjDetect
,
HOG
,
testing
::
Combine
(
INSTANTIATE_TEST_CASE_P
(
GPU_ImgProc
,
HOG
,
testing
::
Combine
(
testing
::
Values
(
cv
::
Size
(
64
,
128
),
cv
::
Size
(
48
,
96
)),
testing
::
Values
(
MatType
(
CV_8UC1
),
MatType
(
CV_8UC4
))));
...
...
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