warning C4101: 'e' line 146
This commit is contained in:
parent
f6f5b6035b
commit
26d7da68fc
@ -86,7 +86,8 @@ int main(int argc, char *argv[])
|
|||||||
else if (*itDesc == "BRISK"){
|
else if (*itDesc == "BRISK"){
|
||||||
b = BRISK::create();
|
b = BRISK::create();
|
||||||
}
|
}
|
||||||
try {
|
try
|
||||||
|
{
|
||||||
// We can detect keypoint with detect method
|
// We can detect keypoint with detect method
|
||||||
b->detect(img1, keyImg1, Mat());
|
b->detect(img1, keyImg1, Mat());
|
||||||
// and compute their descriptors with method compute
|
// and compute their descriptors with method compute
|
||||||
@ -144,6 +145,8 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
catch (Exception& e)
|
catch (Exception& e)
|
||||||
{
|
{
|
||||||
|
cout << e.msg << endl;
|
||||||
|
cout << "Cumulative distance cannot be computed." << endl;
|
||||||
desMethCmp.push_back(-1);
|
desMethCmp.push_back(-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user