summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-27 20:13:16 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-27 20:13:16 +0200
commit925b909b53a8e5bd163508f2b0b3b47a8ab69f86 (patch)
tree869a8cf1729e8b391692e664388bd81f3dea9f4d /ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
parent04095d79a2c6079fb6018807ce1f5133b67655e4 (diff)
Adjust coefficients again.
Diffstat (limited to 'ftnoir_tracker_ht/ftnoir_tracker_ht.cpp')
-rw-r--r--ftnoir_tracker_ht/ftnoir_tracker_ht.cpp10
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 3a59c2f8..72f7c440 100644
--- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
+++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
@@ -109,18 +109,18 @@ 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 = 100;
+ config->max_keypoints = 150;
config->keypoint_quality = 3;
config->keypoint_distance = 3;
- config->keypoint_3distance = 6;
- config->keypoint_9distance = 12;
+ config->keypoint_3distance = 5;
+ config->keypoint_9distance = 10;
//config->force_width = 640;
//config->force_height = 480;
config->force_fps = iniFile.value("fps", 0).toInt();
config->camera_index = iniFile.value("camera-index", -1).toInt();
config->ransac_num_iters = 100;
- config->ransac_max_reprojection_error = 3.9;
- config->ransac_max_inlier_error = 3.7;
+ config->ransac_max_reprojection_error = 3.75;
+ config->ransac_max_inlier_error = 3.8;
config->ransac_abs_max_mean_error = 8;
config->ransac_max_mean_error = 3.8;
config->debug = 1;