summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_ht
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-05-09 19:04:46 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-05-09 19:04:46 +0200
commit31c9f17efa4cbcc24330f14da724126a15430129 (patch)
tree06e71f527bb1bef55aa43d4096ef9722cc53e677 /ftnoir_tracker_ht
parent1c437e799d951b4d668b6a16ce3fb448889e5341 (diff)
HT 0.97
Diffstat (limited to 'ftnoir_tracker_ht')
-rw-r--r--ftnoir_tracker_ht/ftnoir_tracker_ht.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
index 1bdff915..e8e23761 100644
--- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
+++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
@@ -106,24 +106,24 @@ static void load_settings(ht_config_t* config, Tracker* tracker)
iniFile.beginGroup( "HT-Tracker" );
config->classification_delay = 500;
config->field_of_view = iniFile.value("fov", 52).toFloat();
- config->pyrlk_pyramids = 3;
+ config->pyrlk_pyramids = 0;
config->pyrlk_win_size_w = config->pyrlk_win_size_h = 21;
config->max_keypoints = 300;
- config->keypoint_quality = 2;
- config->keypoint_distance = 1;
- config->keypoint_3distance = 3;
- config->keypoint_9distance = 6;
+ config->keypoint_quality = 31;
+ config->keypoint_distance = 2;
+ config->keypoint_3distance = 5;
+ config->keypoint_9distance = 11;
//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 = 50;
- config->ransac_max_reprojection_error = 4;
- config->ransac_max_inlier_error = 4;
+ config->ransac_num_iters = 100;
+ config->ransac_max_reprojection_error = 3;
+ config->ransac_max_inlier_error = 3;
config->ransac_abs_max_mean_error = 7;
config->ransac_max_mean_error = 3.8;
- config->debug = 0;
- config->ransac_min_features = 0.625;
+ config->debug = 1;
+ config->ransac_min_features = 0.85;
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 = 50;
+ config->flandmark_delay = 30;
#if 0
if (config->user_landmarks)
{
@@ -261,7 +261,7 @@ bool Tracker::GiveHeadPoseData(double *data)
//-----------------------------------------------------------------------------
void TrackerDll::getFullName(QString *strToBeFilled)
{
- *strToBeFilled = "HT 0.96";
+ *strToBeFilled = "HT 0.97";
}
void TrackerDll::getShortName(QString *strToBeFilled)