From 115fe17afe5ca82252492821173733089b4f7ae3 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 9 May 2013 09:28:06 +0200 Subject: Tweak coefficients for less erratic operation --- ftnoir_tracker_ht/ftnoir_tracker_ht.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ftnoir_tracker_ht') diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp index 791d8980..5ebd4f88 100644 --- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp +++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp @@ -111,20 +111,20 @@ 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.5; - config->keypoint_3distance = 4; - config->keypoint_9distance = 8; + config->keypoint_distance = 1; + config->keypoint_3distance = 3; + config->keypoint_9distance = 7; //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_num_iters = 50; config->ransac_max_reprojection_error = 3.5; - config->ransac_max_inlier_error = 3.2; + config->ransac_max_inlier_error = 3.1; config->ransac_abs_max_mean_error = 7; config->ransac_max_mean_error = 3.15; config->debug = 0; - config->ransac_min_features = 0.72; + config->ransac_min_features = 0.63; int res = iniFile.value("resolution", 0).toInt(); if (res < 0 || res >= (int)(sizeof(*resolution_choices) / sizeof(resolution_tuple))) res = 0; -- cgit v1.2.3