diff options
author | Stanisław Halik <sthalik@misaki.pl> | 2016-09-20 21:17:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-20 21:17:36 +0200 |
commit | 2bb1ec45faa7dd7790b8cb1f7096c6170066bd57 (patch) | |
tree | b73d3cba5e7a8fe60e4bdf15da4074b1a78c1dfd | |
parent | 83094819212d871ae251f101cf11da3c9ce9045b (diff) |
Update ftnoir_tracker_pt.cpp
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp index ded61e5e..20327020 100644 --- a/tracker-pt/ftnoir_tracker_pt.cpp +++ b/tracker-pt/ftnoir_tracker_pt.cpp @@ -136,7 +136,7 @@ void Tracker_PT::run() ever_success = true; } - std::function<void(const vec2&, const cv::Scalar)> fun = [&](const vec2& p, const cv::Scalar color) + auto fun = [&](const vec2& p, const cv::Scalar& color) { using std::round; cv::Point p2(round(p[0] * frame_.cols + frame_.cols/2), |