diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-06-16 02:19:05 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-06-16 02:19:05 +0200 |
commit | 011150c8fbc541ac03f05d5851122fcc03ff974e (patch) | |
tree | 12b6b86c3b4f12ade943f1d90e2385e4f94fc9c0 /ftnoir_tracker_ht/ftnoir_tracker_ht.cpp | |
parent | 52453804a385dd67692cc4463991f27f4e8682d5 (diff) |
Update HT data files and config
Diffstat (limited to 'ftnoir_tracker_ht/ftnoir_tracker_ht.cpp')
-rw-r--r-- | ftnoir_tracker_ht/ftnoir_tracker_ht.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp index 60db4aa2..29970715 100644 --- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp +++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp @@ -108,19 +108,19 @@ 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 = 200; - config->keypoint_distance = 2.6; + config->max_keypoints = 250; + config->keypoint_distance = 3.5; //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 = 4.5; - config->ransac_max_inlier_error = 4.5; - config->ransac_abs_max_mean_error = 8; - config->ransac_max_mean_error = 3.6; + config->ransac_max_reprojection_error = 5.9; + config->ransac_max_inlier_error = 6; + config->ransac_abs_max_mean_error = 12; + config->ransac_max_mean_error = 4.5; config->debug = 0; - config->ransac_min_features = 0.85; + config->ransac_min_features = 0.875; int res = iniFile.value("resolution", 0).toInt(); if (res < 0 || res >= (int)(sizeof(resolution_choices) / sizeof(resolution_tuple))) res = 0; |