diff options
Diffstat (limited to 'ftnoir_tracker_ht')
-rw-r--r-- | ftnoir_tracker_ht/ftnoir_tracker_ht.cpp | 11 |
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; |