diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-20 16:27:52 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-20 16:27:52 +0200 |
commit | 66d5cfb7636eee667f74a150571968bbecc2a749 (patch) | |
tree | 7cb3394231237b4964ed0897fb7db38d74d6196a /ftnoir_tracker_ht/ftnoir_tracker_ht.cpp | |
parent | a664af379749f01e13600fad2850273f39db898f (diff) |
HT: pointless tweaks
Diffstat (limited to 'ftnoir_tracker_ht/ftnoir_tracker_ht.cpp')
-rw-r--r-- | ftnoir_tracker_ht/ftnoir_tracker_ht.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp index 14cd3942..e31b6d3f 100644 --- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp +++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp @@ -97,10 +97,10 @@ static void load_settings(ht_config_t* config, Tracker* tracker) iniFile.beginGroup( "HT-Tracker" ); config->classification_delay = 500; config->field_of_view = iniFile.value("fov", 52).toFloat(); - config->pyrlk_pyramids = 3; + config->pyrlk_pyramids = 2; config->pyrlk_win_size_w = config->pyrlk_win_size_h = 21; - config->max_keypoints = 200; - config->keypoint_distance = 4.5; + config->max_keypoints = 250; + config->keypoint_distance = 4.2; //config->force_width = 640; //config->force_height = 480; config->force_fps = iniFile.value("fps", 0).toInt(); @@ -111,14 +111,14 @@ static void load_settings(ht_config_t* config, Tracker* tracker) config->ransac_abs_max_mean_error = 15; config->ransac_max_mean_error = 4.5; config->debug = 0; - config->ransac_min_features = 0.8; + config->ransac_min_features = 0.78; int res = iniFile.value("resolution", 0).toInt(); 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 = 200; + config->flandmark_delay = 250; qDebug() << "width" << r.width << "height" << r.height; if (tracker) { |