summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_extractor.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-22 07:58:42 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-22 07:58:42 +0200
commitb253d56527365a729c0249918f6c9477893a717e (patch)
treeee10ce89c268c0566005d25fa4d49ba5cc51da41 /tracker-pt/point_extractor.cpp
parent4e03f244450cbfd8a5a1cf429515ce0194f66262 (diff)
tracker/pt: return focal length directly
Diffstat (limited to 'tracker-pt/point_extractor.cpp')
-rw-r--r--tracker-pt/point_extractor.cpp2
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;