diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-22 07:58:42 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-22 07:58:42 +0200 |
commit | b253d56527365a729c0249918f6c9477893a717e (patch) | |
tree | ee10ce89c268c0566005d25fa4d49ba5cc51da41 /tracker-pt/point_extractor.cpp | |
parent | 4e03f244450cbfd8a5a1cf429515ce0194f66262 (diff) |
tracker/pt: return focal length directly
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 d17bd6cd..e68aa132 100644 --- a/tracker-pt/point_extractor.cpp +++ b/tracker-pt/point_extractor.cpp @@ -382,7 +382,7 @@ void PointExtractor::extract_points(const cv::Mat& frame, cv::Mat& preview_frame } end: - std::sort(blobs.begin(), blobs.end(), [](const blob& b1, const blob& b2) -> bool { return b2.brightness < b1.brightness; }); + std::sort(blobs.begin(), blobs.end(), [](const blob& b1, const blob& b2) { return b2.brightness < b1.brightness; }); const int W = frame.cols; const int H = frame.rows; |