diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-18 18:58:59 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-18 18:58:59 +0100 |
commit | 84b790bba2d3272ea38e473ad951b4dc6259ec58 (patch) | |
tree | 79cd3a6f10457763815c1a26f22bb3e6e9e8714a /ftnoir_tracker_ht | |
parent | de3ab0c3c1aee424a9a04963c976242b03827e17 (diff) |
ht: adjust coeffs
Diffstat (limited to 'ftnoir_tracker_ht')
-rw-r--r-- | ftnoir_tracker_ht/ftnoir_tracker_ht.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp index 3f9f9fa1..76a6ba71 100644 --- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp +++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp @@ -115,24 +115,24 @@ void Tracker::load_settings(ht_config_t* config) config->field_of_view = s.fov; config->pyrlk_pyramids = 0; config->pyrlk_win_size_w = config->pyrlk_win_size_h = 21; - config->max_keypoints = 120; - config->keypoint_distance = 3.2; + config->max_keypoints = 150; + config->keypoint_distance = 6; config->force_fps = nframes; config->camera_index = s.camera_idx - 1; config->ransac_num_iters = 100; - config->ransac_max_reprojection_error = 8; - config->ransac_max_inlier_error = 8; - config->ransac_abs_max_mean_error = 16; - config->ransac_max_mean_error = 6.5; + config->ransac_max_reprojection_error = 10; + config->ransac_max_inlier_error = 10; + config->ransac_abs_max_mean_error = 14; + config->ransac_max_mean_error = 8; config->debug = 0; - config->ransac_min_features = 0.85; + config->ransac_min_features = 0.86; int res = s.resolution; if (res < 0 || res >= (int)(sizeof(resolution_choices) / sizeof(resolution_tuple))) res = 0; resolution_tuple r = resolution_choices[res]; config->force_width = r.width; config->force_height = r.height; - config->flandmark_delay = 325; + config->flandmark_delay = 500; for (int i = 0; i < 5; i++) config->dist_coeffs[i] = 0; } |