diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-11 18:27:04 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-11 18:27:04 +0200 |
commit | 79f3cabf4639be401ae79ca73f58fdec84e5e2e0 (patch) | |
tree | e23e6a9b8959b4b63fa2d1b10001ed85137f069c | |
parent | 7e45559ab1f2c5ae048a3639417e65edcf4428d4 (diff) |
Adjust coefficients
-rw-r--r-- | ftnoir_tracker_ht/ftnoir_tracker_ht.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp index 4ea8180c..4f7d68f0 100644 --- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp +++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp @@ -110,20 +110,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 = 200; - config->keypoint_quality = 11; - config->keypoint_distance = 1; - config->keypoint_3distance = 4; + config->keypoint_quality = 2; + config->keypoint_distance = 1.5; + 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 = 3.1; - config->ransac_max_inlier_error = 3.6; - config->ransac_max_mean_error = 3.8; - config->ransac_abs_max_mean_error = 9; + config->ransac_max_reprojection_error = 3.05; + config->ransac_max_inlier_error = 3.14; + config->ransac_max_mean_error = 3; + config->ransac_abs_max_mean_error = 12; config->debug = 1; - config->ransac_min_features = 0.82; + config->ransac_min_features = 0.86; int res = iniFile.value("resolution", 0).toInt(); if (res < 0 || res >= (int)(sizeof(*resolution_choices) / sizeof(resolution_tuple))) res = 0; @@ -131,7 +131,7 @@ static void load_settings(ht_config_t* config, Tracker* tracker) config->force_width = r.width; config->force_height = r.height; config->user_landmarks = false; //iniFile.value("use-bashed-coords").toBool(); - config->flandmark_delay = 200; + config->flandmark_delay = 150; #if 0 if (config->user_landmarks) { |