summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-14 09:25:42 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-14 09:25:42 +0200
commitec054c285c22ef1ff54841adb25f2d5abe41bdcb (patch)
tree2bdfb7bc156e6e5146263d5a53500e1a8047e8ac /ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
parent513d3d0f71670493f8cb95eda80ad55e041680df (diff)
buffer flush
Diffstat (limited to 'ftnoir_tracker_ht/ftnoir_tracker_ht.cpp')
-rw-r--r--ftnoir_tracker_ht/ftnoir_tracker_ht.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
index 1ec0e13f..577ae40d 100644
--- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
+++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
@@ -42,16 +42,15 @@ void Tracker::load_settings(ht_config_t* config)
break;
}
- static constexpr float pi = 3.14159265358979323846f;
config->classification_delay = 500;
config->field_of_view = s.fov;
config->max_keypoints = 150;
- config->keypoint_distance = 3.4;
+ config->keypoint_distance = 3.5;
config->force_fps = nframes;
config->camera_index = camera_name_to_index(s.camera_name);
- config->ransac_max_reprojection_error = 8;
- config->ransac_max_inlier_error = 8;
+ config->ransac_max_reprojection_error = 25;
+ config->ransac_max_inlier_error = config->ransac_max_reprojection_error;
config->pyrlk_pyramids = 0;
config->pyrlk_win_size_w = config->pyrlk_win_size_h = 21;
@@ -59,8 +58,8 @@ void Tracker::load_settings(ht_config_t* config)
config->ransac_max_mean_error = 999;
config->ransac_abs_max_mean_error = 999;
- config->debug = 0;
- config->ransac_min_features = 0.85;
+ config->debug = 1;
+ config->ransac_min_features = 0.95;
config->ransac_num_iters = 300;
int res = s.resolution;