From 83596f7288cc990bba20826f8f7e30836ac933b1 Mon Sep 17 00:00:00 2001 From: Gary Bradski Date: Mon, 29 Nov 2010 07:56:26 +0000 Subject: [PATCH] updated docs --- samples/cpp/build3dmodel.cpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/samples/cpp/build3dmodel.cpp b/samples/cpp/build3dmodel.cpp index 67b0357b6e..f9997b97de 100644 --- a/samples/cpp/build3dmodel.cpp +++ b/samples/cpp/build3dmodel.cpp @@ -13,6 +13,17 @@ using namespace cv; using namespace std; +void myhelp() +{ + +printf("Sigh: This program is not complete/will be replaced. \n" +"So: Use this just to see hints of how to use things like Rodrigues\n" +" conversions, finding the fundamental matrix, using descriptor\n" +" finding and matching in features2d and using camera parameters\n" + ); +} + + static bool readCameraMatrix(const string& filename, Mat& cameraMatrix, Mat& distCoeffs, Size& calibratedImageSize ) @@ -606,11 +617,12 @@ int main(int argc, char** argv) triangulatePoint_test(); const char* help = "Usage: build3dmodel -i \n" - "\t[-d ] [-de ] -m \n"; + "\t[-d ] [-de ] -m \n\n"; if(argc < 3) { puts(help); + myhelp(); return 0; } const char* intrinsicsFilename = 0;