diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-03 06:28:55 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-03 06:28:55 +0200 |
commit | d01b4b77c5094f885e19106d35a9bf1fe9cbb1ca (patch) | |
tree | 316a05db080f1e7a7cc873aca322da2922ffa522 | |
parent | 58f4b0064cdd63565d3a65406a55bf3b01e1a703 (diff) |
Allow spline control points to go up to 60/180
-rw-r--r-- | facetracknoir/tracker.h | 12 | ||||
-rw-r--r-- | ftnoir_tracker_ht/ftnoir_tracker_ht.cpp | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/facetracknoir/tracker.h b/facetracknoir/tracker.h index 5cfcacd7..3810aafc 100644 --- a/facetracknoir/tracker.h +++ b/facetracknoir/tracker.h @@ -191,12 +191,12 @@ public: THeadPoseDOF Y;
THeadPoseDOF Z;
HeadPoseData() :
- Pitch("PitchUp", "PitchDown", 50, 180, 50, 90),
- Yaw("Yaw", "YawAlt", 50, 180),
- Roll("Roll", "RollAlt", 50, 180),
- X("X","XAlt", 50, 180),
- Y("Y","YAlt", 50, 180),
- Z("Z","ZAlt", 50, 180)
+ Pitch("PitchUp", "PitchDown", 60, 180, 60, 90),
+ Yaw("Yaw", "YawAlt", 60, 180, 60, 180),
+ Roll("Roll", "RollAlt", 60, 180, 60, 180),
+ X("X","XAlt", 60, 200, 60, 200),
+ Y("Y","YAlt", 60, 200, 60, 200),
+ Z("Z","ZAlt", 60, 200, 60, 200)
{
}
};
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp index ffbf1be8..59fb33bd 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 = 2.5; - config->keypoint_3distance = 6; + config->keypoint_distance = 2.25; + config->keypoint_3distance = 5; //config->force_width = 640; //config->force_height = 480; config->force_fps = iniFile.value("fps", 0).toInt(); @@ -114,7 +114,7 @@ static void load_settings(ht_config_t* config, Tracker* tracker) config->ransac_max_mean_error = 3.5; config->ransac_abs_max_mean_error = 7; config->debug = 1; - config->ransac_min_features = 0.80; + 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; |