summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_ht
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-13 07:56:35 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-13 07:56:35 +0200
commita3b43ff980d0cfca58d32da7e7a26253890e98ed (patch)
treed22e99eecab67a2db497a973a77eb8965c49b11a /ftnoir_tracker_ht
parent458335e772b7ad790954351859d9f754a797bd80 (diff)
New HT
Diffstat (limited to 'ftnoir_tracker_ht')
-rw-r--r--ftnoir_tracker_ht/ftnoir_tracker_ht.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
index 224fff4a..0ea6db86 100644
--- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
+++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
@@ -109,11 +109,11 @@ static void load_settings(ht_config_t* config, Tracker* tracker)
config->field_of_view = iniFile.value("fov", 52).toFloat();
config->pyrlk_pyramids = 3;
config->pyrlk_win_size_w = config->pyrlk_win_size_h = 21;
- config->max_keypoints = 300;
- config->keypoint_quality = 2;
- config->keypoint_distance = 1;
- config->keypoint_3distance = 2;
- config->keypoint_9distance = 4;
+ config->max_keypoints = 200;
+ config->keypoint_quality = 4;
+ config->keypoint_distance = 0.8;
+ config->keypoint_3distance = 4;
+ config->keypoint_9distance = 10;
//config->force_width = 640;
//config->force_height = 480;
config->force_fps = iniFile.value("fps", 0).toInt();
@@ -124,7 +124,7 @@ static void load_settings(ht_config_t* config, Tracker* tracker)
config->ransac_max_mean_error = 4;
config->ransac_abs_max_mean_error = 8;
config->debug = 1;
- config->ransac_min_features = 0.86;
+ config->ransac_min_features = 0.83;
int res = iniFile.value("resolution", 0).toInt();
if (res < 0 || res >= (int)(sizeof(*resolution_choices) / sizeof(resolution_tuple)))
res = 0;