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
85ccac26
Commit
85ccac26
authored
Jul 30, 2014
by
edgarriba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added help()
parent
4a869007
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
main_registration.cpp
...lib3d/real_time_pose_estimation/src/main_registration.cpp
+13
-2
No files found.
samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_registration.cpp
View file @
85ccac26
...
...
@@ -27,6 +27,17 @@
// YAML writting path
std
::
string
write_path
=
"../Data/cookies_ORB.yml"
;
void
help
()
{
std
::
cout
<<
"--------------------------------------------------------------------------"
<<
std
::
endl
<<
"This program shows how to create your 3D textured model. "
<<
std
::
endl
<<
"Usage:"
<<
std
::
endl
<<
"./pnp_registration "
<<
std
::
endl
<<
"--------------------------------------------------------------------------"
<<
std
::
endl
<<
std
::
endl
;
}
// Boolean the know if the registration it's done
bool
end_registration
=
false
;
...
...
@@ -95,7 +106,7 @@ static void onMouseModelRegistration( int event, int x, int y, int, void* )
int
main
(
int
argc
,
char
*
argv
[])
{
std
::
cout
<<
"!!!Hello Registration!!!"
<<
std
::
endl
;
help
()
;
// load a mesh given the *.ply file path
mesh
.
load
(
ply_read_path
);
...
...
@@ -106,7 +117,7 @@ int main(int argc, char *argv[])
//Instantiate robust matcher: detector, extractor, matcher
RobustMatcher
rmatcher
;
cv
::
FeatureDetector
*
detector
=
new
cv
::
OrbFeatureDetector
(
numKeyPoints
);
//
rmatcher.setFeatureDetector(detector);
rmatcher
.
setFeatureDetector
(
detector
);
/*
* GROUND TRUTH OF THE FIRST IMAGE
...
...
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