From 05a0371e2d871f81c58c3b41db92c417fcd0ffc1 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 19 Jan 2013 16:40:31 +0000 Subject: 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 --- FTNoIR_Tracker_HT/ftnoir_tracker_ht.cpp | 16 ++++++++-------- 1 file 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(); -- cgit v1.2.3