diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-04 18:27:57 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-04 18:27:57 +0200 |
commit | 27b9b36925dc54032b1d4f6fa2a3e778b2776cc0 (patch) | |
tree | 9bf70a901fcd23f8d9bc54d54e8fe6fe09767efa | |
parent | c36e937fb18ff089b2d0411f440897a4a9082f84 (diff) |
More efficient HT now
-rw-r--r-- | bin/tracker-ht/headtracker-ftnoir.exe | bin | 0 -> 4486144 bytes | |||
-rw-r--r-- | ftnoir_tracker_ht/ftnoir_tracker_ht.cpp | 8 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/tracker-ht/headtracker-ftnoir.exe b/bin/tracker-ht/headtracker-ftnoir.exe Binary files differnew file mode 100644 index 00000000..b32d3e87 --- /dev/null +++ b/bin/tracker-ht/headtracker-ftnoir.exe diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp index 620d69bd..81a64326 100644 --- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp +++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp @@ -102,8 +102,8 @@ static void load_settings(ht_config_t* config, Tracker* tracker) config->pyrlk_win_size_w = config->pyrlk_win_size_h = 21; config->max_keypoints = 300; config->keypoint_quality = 2; - config->keypoint_distance = 1.2; - config->keypoint_3distance = 4; + config->keypoint_distance = 1.9; + config->keypoint_3distance = 6; //config->force_width = 640; //config->force_height = 480; config->force_fps = iniFile.value("fps", 0).toInt(); @@ -113,8 +113,8 @@ static void load_settings(ht_config_t* config, Tracker* tracker) config->ransac_max_inlier_error = 4.09; config->ransac_max_mean_error = 3.5; config->ransac_abs_max_mean_error = 7; - config->debug = 1; - config->ransac_min_features = 0.8; + config->debug = 0; + 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; |