diff options
-rw-r--r-- | bin/tracker-ht/bounding-box.raw | 26 | ||||
-rw-r--r-- | bin/tracker-ht/head.raw | 40 | ||||
-rw-r--r-- | bin/tracker-ht/headtracker-ftnoir.exe | bin | 2489344 -> 2474496 bytes | |||
-rw-r--r-- | ftnoir_tracker_ht/ftnoir_tracker_ht.cpp | 24 |
4 files changed, 38 insertions, 52 deletions
diff --git a/bin/tracker-ht/bounding-box.raw b/bin/tracker-ht/bounding-box.raw index 13b5277c..c4b74a76 100644 --- a/bin/tracker-ht/bounding-box.raw +++ b/bin/tracker-ht/bounding-box.raw @@ -1,20 +1,6 @@ -0.000246 0.095477 0.111639 -0.049857 0.087751 0.109876 0.000673 0.043531 0.132093 --0.031762 -0.037028 0.100461 -0.026267 0.006192 0.113030 -0.049857 0.087751 0.109876 --0.066988 -0.062388 0.092979 -0.031762 -0.037028 0.100461 -0.049857 0.087751 0.109876 --0.068812 0.070801 0.095124 -0.066988 -0.062388 0.092979 -0.049857 0.087751 0.109876 --0.076696 0.008045 0.075610 -0.066988 -0.062388 0.092979 -0.068812 0.070801 0.095124 --0.031762 -0.037028 0.100461 0.000246 -0.072086 0.097518 0.000000 0.000100 0.141088 --0.031762 -0.037028 0.100461 0.000000 0.000100 0.141088 -0.026267 0.006192 0.113030 -0.000673 0.043531 0.132093 -0.049857 0.087751 0.109876 -0.026267 0.006192 0.113030 --0.066988 -0.062388 0.092979 0.000246 -0.072086 0.097518 -0.031762 -0.037028 0.100461 -0.000000 0.000100 0.141088 0.000673 0.043531 0.132093 -0.026267 0.006192 0.113030 --0.000246 0.095477 0.111639 -0.000673 0.043531 0.132093 0.049857 0.087751 0.109876 -0.049857 0.087751 0.109876 0.026267 0.006192 0.113030 0.031762 -0.037028 0.100461 -0.049857 0.087751 0.109876 0.031762 -0.037028 0.100461 0.066988 -0.062388 0.092979 -0.068812 0.070801 0.095124 0.049857 0.087751 0.109876 0.066988 -0.062388 0.092979 -0.068812 0.070801 0.095124 0.066988 -0.062388 0.092979 0.076696 0.008045 0.075610 -0.031762 -0.037028 0.100461 0.000000 0.000100 0.141088 -0.000246 -0.072086 0.097518 -0.031762 -0.037028 0.100461 0.026267 0.006192 0.113030 0.000000 0.000100 0.141088 --0.000673 0.043531 0.132093 0.026267 0.006192 0.113030 0.049857 0.087751 0.109876 -0.066988 -0.062388 0.092979 0.031762 -0.037028 0.100461 -0.000246 -0.072086 0.097518 -0.000000 0.000100 0.141088 0.026267 0.006192 0.113030 -0.000673 0.043531 0.132093 +-0.064540 0.122733 0.087319 -0.082022 -0.023377 0.068751 0.000000 -0.037029 0.112506 +-0.082022 -0.023377 0.068751 0.000214 -0.069190 0.100245 0.000000 -0.037029 0.112506 +0.000585 0.121247 0.097715 -0.064540 0.122733 0.087319 0.000000 -0.037029 0.112506 +0.000000 -0.037029 0.112506 0.082022 -0.023377 0.068751 0.064540 0.122733 0.087319 +0.082022 -0.023377 0.068751 0.000000 -0.037029 0.112506 -0.000214 -0.069190 0.100245 +-0.000585 0.121247 0.097715 0.000000 -0.037029 0.112506 0.064540 0.122733 0.087319 diff --git a/bin/tracker-ht/head.raw b/bin/tracker-ht/head.raw index a5b4bd85..35568f93 100644 --- a/bin/tracker-ht/head.raw +++ b/bin/tracker-ht/head.raw @@ -2,39 +2,39 @@ -0.041739 0.009398 0.086040 -0.038798 -0.004968 0.090329 -0.029317 0.006111 0.093098 -0.018384 0.071441 0.101492 -0.037933 0.072461 0.092862 -0.026911 0.048103 0.101535 0.000000 0.051912 0.104081 0.000000 0.071376 0.101241 -0.011053 0.045272 0.102784 -0.000000 -0.004846 0.131352 -0.011024 -0.002516 0.124890 0.000000 -0.014635 0.112559 +0.000000 -0.004846 0.131352 -0.011024 -0.002516 0.124890 0.000000 -0.014635 0.110094 0.000000 0.003099 0.131941 -0.011024 -0.002516 0.124890 0.000000 -0.004846 0.131352 0.000000 0.071376 0.101241 -0.018384 0.071441 0.101492 -0.011053 0.045272 0.102784 -0.007717 0.025703 0.113210 0.000000 0.019987 0.121199 0.000000 0.034987 0.108182 -0.004673 0.045937 0.102059 0.000000 0.046381 0.102409 0.000000 0.051912 0.104081 -0.034447 -0.017321 0.093453 -0.025034 -0.014668 0.096344 -0.038798 -0.004968 0.090329 --0.009632 -0.036241 0.109342 0.000000 -0.036493 0.110999 0.000000 -0.014635 0.112559 +-0.009632 -0.036241 0.109342 0.000000 -0.036493 0.110999 0.000000 -0.014635 0.110094 -0.029317 0.006111 0.093098 -0.018583 0.010280 0.100619 -0.016963 0.030187 0.088877 -0.029984 -0.029247 0.098166 -0.016650 -0.036445 0.106242 -0.025034 -0.014668 0.096344 --0.018924 -0.008888 0.098119 -0.016650 -0.036445 0.106242 -0.009632 -0.036241 0.109342 --0.018583 0.010280 0.100619 -0.029317 0.006111 0.093098 -0.018924 -0.008888 0.098119 +-0.018924 -0.008888 0.099257 -0.016650 -0.036445 0.106242 -0.009632 -0.036241 0.109342 +-0.018583 0.010280 0.100619 -0.029317 0.006111 0.093098 -0.018924 -0.008888 0.099257 -0.011896 -0.047384 0.106074 0.000000 -0.047826 0.108257 -0.009632 -0.036241 0.109342 -0.004673 0.045937 0.102059 0.000000 0.051912 0.104081 -0.011053 0.045272 0.102784 -0.011024 -0.002516 0.124890 -0.007717 0.025703 0.113210 -0.012957 0.011201 0.112091 -0.029984 -0.029247 0.098166 -0.023842 -0.042492 0.103894 -0.016650 -0.036445 0.106242 -0.005057 0.036518 0.104452 -0.004673 0.045937 0.102059 -0.009974 0.039416 0.094960 0.000000 0.046381 0.102409 -0.005057 0.036518 0.104452 0.000000 0.034987 0.108182 --0.025034 -0.014668 0.096344 -0.018924 -0.008888 0.098119 -0.029317 0.006111 0.093098 +-0.025034 -0.014668 0.096344 -0.018924 -0.008888 0.099257 -0.029317 0.006111 0.093098 -0.016650 -0.036445 0.106242 -0.023842 -0.042492 0.103894 -0.011896 -0.047384 0.106074 --0.016650 -0.036445 0.106242 -0.018924 -0.008888 0.098119 -0.025034 -0.014668 0.096344 +-0.016650 -0.036445 0.106242 -0.018924 -0.008888 0.099257 -0.025034 -0.014668 0.096344 0.000000 0.019987 0.121199 -0.011024 -0.002516 0.124890 0.000000 0.003099 0.131941 -0.025034 -0.014668 0.096344 -0.029317 0.006111 0.093098 -0.038798 -0.004968 0.090329 --0.011024 -0.002516 0.124890 -0.018924 -0.008888 0.098119 0.000000 -0.014635 0.112559 +-0.011024 -0.002516 0.124890 -0.018924 -0.008888 0.099257 0.000000 -0.014635 0.110094 -0.025034 -0.014668 0.096344 -0.034447 -0.017321 0.093453 -0.029984 -0.029247 0.098166 -0.000000 -0.014635 0.112559 -0.018924 -0.008888 0.098119 -0.009632 -0.036241 0.109342 +0.000000 -0.014635 0.110094 -0.018924 -0.008888 0.099257 -0.009632 -0.036241 0.109342 -0.009632 -0.036241 0.109342 0.000000 -0.047826 0.108257 0.000000 -0.036493 0.110999 -0.012957 0.011201 0.112091 -0.007717 0.025703 0.113210 -0.016963 0.030187 0.088877 -0.009632 -0.036241 0.109342 -0.016650 -0.036445 0.106242 -0.011896 -0.047384 0.106074 -0.018583 0.010280 0.100619 -0.012957 0.011201 0.112091 -0.016963 0.030187 0.088877 -0.007717 0.025703 0.113210 -0.011024 -0.002516 0.124890 0.000000 0.019987 0.121199 -0.009974 0.039416 0.094960 -0.016963 0.030187 0.088877 -0.005057 0.036518 0.104452 --0.018924 -0.008888 0.098119 -0.011024 -0.002516 0.124890 -0.012957 0.011201 0.112091 --0.012957 0.011201 0.112091 -0.018583 0.010280 0.100619 -0.018924 -0.008888 0.098119 +-0.018924 -0.008888 0.099257 -0.011024 -0.002516 0.124890 -0.012957 0.011201 0.112091 +-0.012957 0.011201 0.112091 -0.018583 0.010280 0.100619 -0.018924 -0.008888 0.099257 -0.033545 0.023614 0.088450 -0.041739 0.009398 0.086040 -0.029317 0.006111 0.093098 -0.044430 0.023163 0.083050 -0.041739 0.009398 0.086040 -0.033545 0.023614 0.088450 -0.033545 0.023614 0.088450 -0.029317 0.006111 0.093098 -0.016963 0.030187 0.088877 @@ -49,39 +49,39 @@ 0.041739 0.009398 0.086040 0.029317 0.006111 0.093098 0.038798 -0.004968 0.090329 0.018384 0.071441 0.101492 0.026911 0.048103 0.101535 0.037933 0.072461 0.092862 0.000000 0.051912 0.104081 0.011053 0.045272 0.102784 0.000000 0.071376 0.101241 -0.000000 -0.004846 0.131352 0.000000 -0.014635 0.112559 0.011024 -0.002516 0.124890 +0.000000 -0.004846 0.131352 0.000000 -0.014635 0.110094 0.011024 -0.002516 0.124890 0.000000 0.003099 0.131941 0.000000 -0.004846 0.131352 0.011024 -0.002516 0.124890 0.000000 0.071376 0.101241 0.011053 0.045272 0.102784 0.018384 0.071441 0.101492 0.007717 0.025703 0.113210 0.000000 0.034987 0.108182 0.000000 0.019987 0.121199 0.004673 0.045937 0.102059 0.000000 0.051912 0.104081 0.000000 0.046381 0.102409 0.034447 -0.017321 0.093453 0.038798 -0.004968 0.090329 0.025034 -0.014668 0.096344 -0.009632 -0.036241 0.109342 0.000000 -0.014635 0.112559 0.000000 -0.036493 0.110999 +0.009632 -0.036241 0.109342 0.000000 -0.014635 0.110094 0.000000 -0.036493 0.110999 0.029317 0.006111 0.093098 0.016963 0.030187 0.088877 0.018583 0.010280 0.100619 0.029984 -0.029247 0.098166 0.025034 -0.014668 0.096344 0.016650 -0.036445 0.106242 -0.018924 -0.008888 0.098119 0.009632 -0.036241 0.109342 0.016650 -0.036445 0.106242 -0.018583 0.010280 0.100619 0.018924 -0.008888 0.098119 0.029317 0.006111 0.093098 +0.018924 -0.008888 0.099257 0.009632 -0.036241 0.109342 0.016650 -0.036445 0.106242 +0.018583 0.010280 0.100619 0.018924 -0.008888 0.099257 0.029317 0.006111 0.093098 0.011896 -0.047384 0.106074 0.009632 -0.036241 0.109342 0.000000 -0.047826 0.108257 0.004673 0.045937 0.102059 0.011053 0.045272 0.102784 0.000000 0.051912 0.104081 0.011024 -0.002516 0.124890 0.012957 0.011201 0.112091 0.007717 0.025703 0.113210 0.029984 -0.029247 0.098166 0.016650 -0.036445 0.106242 0.023842 -0.042492 0.103894 0.005057 0.036518 0.104452 0.009974 0.039416 0.094960 0.004673 0.045937 0.102059 0.000000 0.046381 0.102409 0.000000 0.034987 0.108182 0.005057 0.036518 0.104452 -0.025034 -0.014668 0.096344 0.029317 0.006111 0.093098 0.018924 -0.008888 0.098119 +0.025034 -0.014668 0.096344 0.029317 0.006111 0.093098 0.018924 -0.008888 0.099257 0.016650 -0.036445 0.106242 0.011896 -0.047384 0.106074 0.023842 -0.042492 0.103894 -0.016650 -0.036445 0.106242 0.025034 -0.014668 0.096344 0.018924 -0.008888 0.098119 +0.016650 -0.036445 0.106242 0.025034 -0.014668 0.096344 0.018924 -0.008888 0.099257 0.000000 0.019987 0.121199 0.000000 0.003099 0.131941 0.011024 -0.002516 0.124890 0.025034 -0.014668 0.096344 0.038798 -0.004968 0.090329 0.029317 0.006111 0.093098 -0.011024 -0.002516 0.124890 0.000000 -0.014635 0.112559 0.018924 -0.008888 0.098119 +0.011024 -0.002516 0.124890 0.000000 -0.014635 0.110094 0.018924 -0.008888 0.099257 0.025034 -0.014668 0.096344 0.029984 -0.029247 0.098166 0.034447 -0.017321 0.093453 -0.000000 -0.014635 0.112559 0.009632 -0.036241 0.109342 0.018924 -0.008888 0.098119 +0.000000 -0.014635 0.110094 0.009632 -0.036241 0.109342 0.018924 -0.008888 0.099257 0.009632 -0.036241 0.109342 0.000000 -0.036493 0.110999 0.000000 -0.047826 0.108257 0.012957 0.011201 0.112091 0.016963 0.030187 0.088877 0.007717 0.025703 0.113210 0.009632 -0.036241 0.109342 0.011896 -0.047384 0.106074 0.016650 -0.036445 0.106242 0.018583 0.010280 0.100619 0.016963 0.030187 0.088877 0.012957 0.011201 0.112091 0.007717 0.025703 0.113210 0.000000 0.019987 0.121199 0.011024 -0.002516 0.124890 0.009974 0.039416 0.094960 0.005057 0.036518 0.104452 0.016963 0.030187 0.088877 -0.018924 -0.008888 0.098119 0.012957 0.011201 0.112091 0.011024 -0.002516 0.124890 -0.012957 0.011201 0.112091 0.018924 -0.008888 0.098119 0.018583 0.010280 0.100619 +0.018924 -0.008888 0.099257 0.012957 0.011201 0.112091 0.011024 -0.002516 0.124890 +0.012957 0.011201 0.112091 0.018924 -0.008888 0.099257 0.018583 0.010280 0.100619 0.033545 0.023614 0.088450 0.029317 0.006111 0.093098 0.041739 0.009398 0.086040 0.044430 0.023163 0.083050 0.033545 0.023614 0.088450 0.041739 0.009398 0.086040 0.033545 0.023614 0.088450 0.016963 0.030187 0.088877 0.029317 0.006111 0.093098 diff --git a/bin/tracker-ht/headtracker-ftnoir.exe b/bin/tracker-ht/headtracker-ftnoir.exe Binary files differindex f9eb8390..16a99886 100644 --- a/bin/tracker-ht/headtracker-ftnoir.exe +++ b/bin/tracker-ht/headtracker-ftnoir.exe 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) |