summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-06 12:48:42 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:20 +0100
commite0cee2d8850e45e0832ebdb5b718fa42432e911a (patch)
tree933c65b4b5878e65f98c0d9c55c2010428c82a10
parent23bfc6ea340995d1cfe3c67547c4e7d67c29f6da (diff)
tracker/pt: fix duplication/logic error
-rw-r--r--tracker-pt/point_tracker.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tracker-pt/point_tracker.cpp b/tracker-pt/point_tracker.cpp
index 34699aab..8576deda 100644
--- a/tracker-pt/point_tracker.cpp
+++ b/tracker-pt/point_tracker.cpp
@@ -236,10 +236,7 @@ void PointTracker::track(const std::vector<vec2>& points,
order = find_correspondences(points.data(), model);
}
else
- {
- t.start();
order = find_correspondences_previous(points.data(), model, info);
- }
if (maybe_use_old_pose(order, info) || POSIT(model, order, fx) != -1)
{