diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-03-07 19:43:31 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-03-07 19:43:31 +0100 |
commit | 3882d798cc93684fa3a64e25191953f68810ed3d (patch) | |
tree | 4a5ea3a35e8abfc4e1d4028bd5c564aa77157a90 | |
parent | d241a49ec83d8a146ceddca44b1281c7e4c9da50 (diff) |
tracker/pt: fix mismerge
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp index 8192a76d..3d8aded5 100644 --- a/tracker-pt/ftnoir_tracker_pt.cpp +++ b/tracker-pt/ftnoir_tracker_pt.cpp @@ -129,25 +129,6 @@ void Tracker_PT::run() Affine X_CM = pose(); - { - Affine X_MH(cv::Matx33f::eye(), cv::Vec3f(s.t_MH_x, s.t_MH_y, s.t_MH_z)); // just copy pasted these lines from below - if (X_MH.t[0] == 0 && X_MH.t[1] == 0 && X_MH.t[2] == 0) - { - int m = s.model_used; - switch (m) - { - default: - // cap - case 0: X_MH.t[0] = 0; X_MH.t[1] = 0; X_MH.t[2] = 0; break; - // clip - case 1: X_MH.t[0] = 135; X_MH.t[1] = 0; X_MH.t[2] = 0; break; - // left clip - case 2: X_MH.t[0] = -135; X_MH.t[1] = 0; X_MH.t[2] = 0; break; - } - } - } - - std::function<void(const cv::Vec2f&, const cv::Scalar)> fun = [&](const cv::Vec2f& p, const cv::Scalar color) { auto p2 = cv::Point(p[0] * frame_.cols + frame_.cols/2, -p[1] * frame_.cols + frame_.rows/2); |