projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version update
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
plugins
/
findobj
/
findobj.C
diff --git
a/cinelerra-5.1/plugins/findobj/findobj.C
b/cinelerra-5.1/plugins/findobj/findobj.C
index ea1d60180c887f2c5397be48632cd7859ee87a14..b54b1c727f7ec8cfc0d5cd02927ca27f0b950839 100644
(file)
--- a/
cinelerra-5.1/plugins/findobj/findobj.C
+++ b/
cinelerra-5.1/plugins/findobj/findobj.C
@@
-412,7
+412,7
@@
void FindObjMain::detect(Mat &mat, KeyPointV &keypts,Mat &descrs)
descrs.release();
try {
detector->detectAndCompute(mat, noArray(), keypts, descrs);
descrs.release();
try {
detector->detectAndCompute(mat, noArray(), keypts, descrs);
- } catch(std::exception e) { printf(_("detector exception: %s\n"), e.what()); }
+ } catch(std::exception
&
e) { printf(_("detector exception: %s\n"), e.what()); }
}
void FindObjMain::match()
}
void FindObjMain::match()
@@
-420,7
+420,7
@@
void FindObjMain::match()
pairs.clear();
try {
matcher->knnMatch(obj_descrs, scn_descrs, pairs, 2);
pairs.clear();
try {
matcher->knnMatch(obj_descrs, scn_descrs, pairs, 2);
- } catch(std::exception e) { printf(_("match execption: %s\n"), e.what()); }
+ } catch(std::exception
&
e) { printf(_("match execption: %s\n"), e.what()); }
}
Ptr<DescriptorMatcher> FindObjMain::flann_kdtree_matcher()
}
Ptr<DescriptorMatcher> FindObjMain::flann_kdtree_matcher()
@@
-494,7
+494,6
@@
void FindObjMain::set_brisk()
}
#endif
}
#endif
-
void FindObjMain::process_match()
{
if( config.algorithm == NO_ALGORITHM ) return;
void FindObjMain::process_match()
{
if( config.algorithm == NO_ALGORITHM ) return;