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
1189606c
Commit
1189606c
authored
Nov 12, 2014
by
Vladislav Vinogradov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix gpu performance sample compilation
parent
4763d803
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
tests.cpp
samples/gpu/performance/tests.cpp
+4
-3
No files found.
samples/gpu/performance/tests.cpp
View file @
1189606c
...
...
@@ -339,14 +339,15 @@ TEST(ORB)
Mat
src
=
imread
(
abspath
(
"../data/aloeL.jpg"
),
IMREAD_GRAYSCALE
);
if
(
src
.
empty
())
throw
runtime_error
(
"can't open ../data/aloeL.jpg"
);
ORB
orb
(
4000
);
Ptr
<
ORB
>
orb
=
ORB
::
create
(
4000
);
vector
<
KeyPoint
>
keypoints
;
Mat
descriptors
;
orb
(
src
,
Mat
(),
keypoints
,
descriptors
);
orb
->
detectAndCompute
(
src
,
Mat
(),
keypoints
,
descriptors
);
CPU_ON
;
orb
(
src
,
Mat
(),
keypoints
,
descriptors
);
orb
->
detectAndCompute
(
src
,
Mat
(),
keypoints
,
descriptors
);
CPU_OFF
;
cuda
::
ORB_CUDA
d_orb
;
...
...
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