From df335271871686c9bfb1e99ef5193bda0b46be2f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 24 Mar 2017 12:42:17 +0100 Subject: tracker/pt: bail if point count isn't EXACTLY 3 --- tracker-pt/ftnoir_tracker_pt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp index 8a5950f2..fce20cbe 100644 --- a/tracker-pt/ftnoir_tracker_pt.cpp +++ b/tracker-pt/ftnoir_tracker_pt.cpp @@ -86,7 +86,7 @@ void Tracker_PT::run() f fx; cam_info.get_focal_length(fx); - const bool success = points.size() >= PointModel::N_POINTS; + const bool success = points.size() == PointModel::N_POINTS; if (success) { -- cgit v1.2.3