From 27b9b36925dc54032b1d4f6fa2a3e778b2776cc0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 4 Apr 2013 18:27:57 +0200 Subject: More efficient HT now --- ftnoir_tracker_ht/ftnoir_tracker_ht.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ftnoir_tracker_ht/ftnoir_tracker_ht.cpp') 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; -- cgit v1.2.3