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
049e284e
Commit
049e284e
authored
Dec 02, 2010
by
Gary Bradski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docing the use of SURF+FLANN for planar object detection
parent
1b4b40f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
find_obj.cpp
samples/c/find_obj.cpp
+11
-1
No files found.
samples/c/find_obj.cpp
View file @
049e284e
...
...
@@ -14,7 +14,17 @@
#include <vector>
using
namespace
std
;
void
help
()
{
printf
(
"This program demonstrated the use of the SURF Detector and Descriptor using
\n
"
"either FLANN (fast approx nearst neighbor classification) or brute force matching
\n
"
"on planar objects.
\n
"
"Call:
\n
"
"./find_obj [<object_filename default box.png> <scene_filename default box_in_scene.png>]
\n\n
"
);
}
// define whether to use approximate nearest-neighbor search
#define USE_FLANN
...
...
@@ -205,7 +215,7 @@ int main(int argc, char** argv)
const
char
*
scene_filename
=
argc
==
3
?
argv
[
2
]
:
"box_in_scene.png"
;
CvMemStorage
*
storage
=
cvCreateMemStorage
(
0
);
help
();
cvNamedWindow
(
"Object"
,
1
);
cvNamedWindow
(
"Object Correspond"
,
1
);
...
...
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