updated docs
This commit is contained in:
parent
a708ca8135
commit
83596f7288
@ -13,6 +13,17 @@
|
|||||||
using namespace cv;
|
using namespace cv;
|
||||||
using namespace std;
|
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,
|
static bool readCameraMatrix(const string& filename,
|
||||||
Mat& cameraMatrix, Mat& distCoeffs,
|
Mat& cameraMatrix, Mat& distCoeffs,
|
||||||
Size& calibratedImageSize )
|
Size& calibratedImageSize )
|
||||||
@ -606,11 +617,12 @@ int main(int argc, char** argv)
|
|||||||
triangulatePoint_test();
|
triangulatePoint_test();
|
||||||
|
|
||||||
const char* help = "Usage: build3dmodel -i <intrinsics_filename>\n"
|
const char* help = "Usage: build3dmodel -i <intrinsics_filename>\n"
|
||||||
"\t[-d <detector>] [-de <descriptor_extractor>] -m <model_name>\n";
|
"\t[-d <detector>] [-de <descriptor_extractor>] -m <model_name>\n\n";
|
||||||
|
|
||||||
if(argc < 3)
|
if(argc < 3)
|
||||||
{
|
{
|
||||||
puts(help);
|
puts(help);
|
||||||
|
myhelp();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
const char* intrinsicsFilename = 0;
|
const char* intrinsicsFilename = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user