@@ -26,41 +26,41 @@ static Mat loadImage(const string& name)
...
@@ -26,41 +26,41 @@ static Mat loadImage(const string& name)
intmain(intargc,constchar*argv[])
intmain(intargc,constchar*argv[])
{
{
CommandLineParsercmd(argc,argv,
CommandLineParsercmd(argc,argv,
"{ image i | pic1.png | input image }"
"{ i | image | pic1.png | input image }"
"{ template t | templ.png | template image }"
"{ t | template | templ.png | template image }"
"{ scale s | | estimate scale }"
"{ s | scale | | estimate scale }"
"{ rotation r | | estimate rotation }"
"{ r | rotation | | estimate rotation }"
"{ gpu | | use gpu version }"
"{ | gpu | | use gpu version }"
"{ minDist | 100 | minimum distance between the centers of the detected objects }"
"{ | minDist | 100 | minimum distance between the centers of the detected objects }"
"{ levels | 360 | R-Table levels }"
"{ | levels | 360 | R-Table levels }"
"{ votesThreshold | 30 | the accumulator threshold for the template centers at the detection stage. The smaller it is, the more false positions may be detected }"
"{ | votesThreshold | 30 | the accumulator threshold for the template centers at the detection stage. The smaller it is, the more false positions may be detected }"