summarylogtreecommitdiffstats
path: root/fix-ambiguous-call.patch
diff options
context:
space:
mode:
authorJerry Lin2018-11-03 23:38:17 +0800
committerJerry Lin2018-11-03 23:38:17 +0800
commitbc9f203c9c5cf833ede855b0da95189280b652e7 (patch)
tree8d85a90270c69c9ae44f958ad0547b767494f82f /fix-ambiguous-call.patch
parent4f56ed3cf06e1428fe07b7eb802a9231965b067e (diff)
downloadaur-bc9f203c9c5cf833ede855b0da95189280b652e7.tar.gz
Update version to 2.0.0. Fix compatibility with OpenCV 3.4.
Diffstat (limited to 'fix-ambiguous-call.patch')
-rw-r--r--fix-ambiguous-call.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/fix-ambiguous-call.patch b/fix-ambiguous-call.patch
new file mode 100644
index 000000000000..e17ca54ff572
--- /dev/null
+++ b/fix-ambiguous-call.patch
@@ -0,0 +1,13 @@
+diff --git a/src/nodelet/lk_flow_nodelet.cpp b/src/nodelet/lk_flow_nodelet.cpp
+index 24825ad..533e5ab 100644
+--- a/src/nodelet/lk_flow_nodelet.cpp
++++ b/src/nodelet/lk_flow_nodelet.cpp
+@@ -159,7 +159,7 @@ class LKFlowNodelet : public opencv_apps::Nodelet
+ if( needToInit )
+ {
+ // automatic initialization
+- cv::goodFeaturesToTrack(gray, points[1], MAX_COUNT, 0.01, 10, cv::Mat(), 3, 0, 0.04);
++ cv::goodFeaturesToTrack(gray, points[1], MAX_COUNT, 0.01, 10, cv::Mat(), 3, false, 0.04);
+ cv::cornerSubPix(gray, points[1], subPixWinSize, cv::Size(-1,-1), termcrit);
+ addRemovePt = false;
+ }