docs
This commit is contained in:
parent
f08969ed49
commit
114fe5cf15
@ -13,6 +13,13 @@
|
|||||||
#include "opencv2/imgproc/imgproc_c.h"
|
#include "opencv2/imgproc/imgproc_c.h"
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
void help()
|
||||||
|
{
|
||||||
|
printf("\nThis program demonstrates the one way interest point descriptor found in features2d.hpp\n"
|
||||||
|
"Correspondences are drawn\n");
|
||||||
|
printf("Format: \n./one_way_sample [path_to_samples] [image1] [image2]\n");
|
||||||
|
printf("For example: ./one_way_sample ../../../opencv/samples/c scene_l.bmp scene_r.bmp\n");
|
||||||
|
}
|
||||||
|
|
||||||
using namespace cv;
|
using namespace cv;
|
||||||
|
|
||||||
@ -27,8 +34,7 @@ int main(int argc, char** argv)
|
|||||||
|
|
||||||
if (argc != 3 && argc != 4)
|
if (argc != 3 && argc != 4)
|
||||||
{
|
{
|
||||||
printf("Format: \n./one_way_sample [path_to_samples] [image1] [image2]\n");
|
help();
|
||||||
printf("For example: ./one_way_sample ../../../opencv/samples/c scene_l.bmp scene_r.bmp\n");
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user