Added help()
This commit is contained in:
parent
4a86900761
commit
85ccac2633
@ -27,6 +27,17 @@
|
|||||||
// YAML writting path
|
// YAML writting path
|
||||||
std::string write_path = "../Data/cookies_ORB.yml";
|
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
|
// Boolean the know if the registration it's done
|
||||||
bool end_registration = false;
|
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[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
|
||||||
std::cout << "!!!Hello Registration!!!" << std::endl;
|
help();
|
||||||
|
|
||||||
// load a mesh given the *.ply file path
|
// load a mesh given the *.ply file path
|
||||||
mesh.load(ply_read_path);
|
mesh.load(ply_read_path);
|
||||||
@ -106,7 +117,7 @@ int main(int argc, char *argv[])
|
|||||||
//Instantiate robust matcher: detector, extractor, matcher
|
//Instantiate robust matcher: detector, extractor, matcher
|
||||||
RobustMatcher rmatcher;
|
RobustMatcher rmatcher;
|
||||||
cv::FeatureDetector * detector = new cv::OrbFeatureDetector(numKeyPoints);
|
cv::FeatureDetector * detector = new cv::OrbFeatureDetector(numKeyPoints);
|
||||||
//rmatcher.setFeatureDetector(detector);
|
rmatcher.setFeatureDetector(detector);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* GROUND TRUTH OF THE FIRST IMAGE
|
* GROUND TRUTH OF THE FIRST IMAGE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user