diff options
author | attila-csipa <attila.csipa@hp.com> | 2017-07-07 13:05:11 +0100 |
---|---|---|
committer | attila-csipa <attila.csipa@hp.com> | 2017-07-07 13:05:11 +0100 |
commit | 816c857c513e42a0b2583c2ab7bd89610f968f93 (patch) | |
tree | 631a46bfb3bdc14c26147dfd6c1b5497ec852e38 /tracker-pt/point_extractor.cpp | |
parent | 6ee550ecbad85c6bce796d04b3238a4c0a491205 (diff) |
Unsigned cast reformat
Diffstat (limited to 'tracker-pt/point_extractor.cpp')
-rw-r--r-- | tracker-pt/point_extractor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/point_extractor.cpp b/tracker-pt/point_extractor.cpp index a23d1cdf..fbd84799 100644 --- a/tracker-pt/point_extractor.cpp +++ b/tracker-pt/point_extractor.cpp @@ -145,7 +145,7 @@ void PointExtractor::extract_points(const cv::Mat& frame, cv::Mat& preview_frame contours.clear(); cv::findContours(frame_bin, contours, cv::RETR_LIST, cv::CHAIN_APPROX_SIMPLE); - const unsigned cnt = std::min(unsigned(max_blobs), contours.size()); + const unsigned cnt = std::min<unsigned>(max_blobs, contours.size()); for (unsigned k = 0; k < cnt; k++) { |