diff options
Diffstat (limited to 'tracker-pt/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 d196b2ee..6110e22e 100644 --- a/tracker-pt/ftnoir_tracker_pt.cpp +++ b/tracker-pt/ftnoir_tracker_pt.cpp @@ -94,7 +94,7 @@ void Tracker_PT::run() auto fun = [&](const vec2& p, const cv::Scalar& color) { - static constexpr f len = 9; + static constexpr int len = 9; cv::Point p2(iround(p[0] * preview_frame.cols + preview_frame.cols/2), iround(-p[1] * preview_frame.cols + preview_frame.rows/2)); |