summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-01-19 16:40:31 +0000
committerStanislaw Halik <sthalik@misaki.pl>2013-01-19 16:40:31 +0000
commit05a0371e2d871f81c58c3b41db92c417fcd0ffc1 (patch)
tree95fa0a329b23b2f15d1c65c3d3be956e5aaefe1d
parent0731ea9c51f17c044e22e5bb6f09444bab91e998 (diff)
Sadly, forgot about adjusting settings after downsampling the image
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@220 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
-rw-r--r--FTNoIR_Tracker_HT/ftnoir_tracker_ht.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/FTNoIR_Tracker_HT/ftnoir_tracker_ht.cpp b/FTNoIR_Tracker_HT/ftnoir_tracker_ht.cpp
index 90dc08e9..8d45a9d9 100644
--- a/FTNoIR_Tracker_HT/ftnoir_tracker_ht.cpp
+++ b/FTNoIR_Tracker_HT/ftnoir_tracker_ht.cpp
@@ -23,20 +23,20 @@ static void load_settings(ht_config_t* config, Tracker* tracker)
config->pyrlk_pyramids = 3;
config->pyrlk_win_size_w = config->pyrlk_win_size_h = 21;
config->max_keypoints = 250;
- config->keypoint_quality = 31;
- config->keypoint_distance = 3.9;
- config->keypoint_3distance = 12;
+ config->keypoint_quality = 12;
+ config->keypoint_distance = 2.1;
+ config->keypoint_3distance = 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 = 7;
- config->ransac_max_inlier_error = 7;
- config->ransac_max_mean_error = 5;
- config->ransac_abs_max_mean_error = 7;
+ config->ransac_max_reprojection_error = 3.5;
+ config->ransac_max_inlier_error = 3.5;
+ config->ransac_max_mean_error = 3;
+ config->ransac_abs_max_mean_error = 5;
config->debug = 0;
- config->ransac_min_features = 0.90;
+ config->ransac_min_features = 0.88;
if (tracker)
{
tracker->enableRX = iniFile.value("enable-rx", true).toBool();