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
e73245ef
Commit
e73245ef
authored
Dec 03, 2010
by
Alexey Spizhevoy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated test for gpu::HOGDescriptor
parent
2a2590ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
23 deletions
+0
-23
hog.cpp
tests/gpu/src/hog.cpp
+0
-23
No files found.
tests/gpu/src/hog.cpp
View file @
e73245ef
...
...
@@ -176,29 +176,6 @@ struct CV_GpuHogDetectionTest: public CvTest, public cv::gpu::HOGDescriptor
#else
compare
(
block_hists
,
locations
);
#endif
// Test detectMultiScale
std
::
vector
<
cv
::
Rect
>
rects
;
size_t
nrects
;
detectMultiScale
(
d_img
,
rects
,
0
,
cv
::
Size
(
8
,
8
),
cv
::
Size
(),
1.05
,
2
);
#ifdef DUMP
nrects
=
rects
.
size
();
f
.
write
((
char
*
)
&
nrects
,
sizeof
(
nrects
));
for
(
size_t
i
=
0
;
i
<
rects
.
size
();
++
i
)
f
.
write
((
char
*
)
&
rects
[
i
],
sizeof
(
rects
[
i
]));
dump
(
block_hists
,
std
::
vector
<
cv
::
Point
>
());
#else
f
.
read
((
char
*
)
&
nrects
,
sizeof
(
nrects
));
CHECK
(
nrects
==
rects
.
size
(),
CvTS
::
FAIL_INVALID_OUTPUT
)
for
(
size_t
i
=
0
;
i
<
rects
.
size
();
++
i
)
{
cv
::
Rect
rect
;
f
.
read
((
char
*
)
&
rect
,
sizeof
(
rect
));
CHECK
(
rect
==
rects
[
i
],
CvTS
::
FAIL_INVALID_OUTPUT
);
}
compare
(
block_hists
,
std
::
vector
<
cv
::
Point
>
());
#endif
}
#ifdef DUMP
...
...
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