summaryrefslogtreecommitdiffhomepage
path: root/tracker-easy
diff options
context:
space:
mode:
authorStéphane Lenclud <github@lenclud.com>2020-08-30 17:50:09 +0200
committerStéphane Lenclud <github@lenclud.com>2020-09-02 16:20:41 +0200
commite25f81898371648a2e02d1da1f027ff5f189b1a1 (patch)
tree47e4000c118d958c0722b7794adfad7a089287e2 /tracker-easy
parent3495ddbdfcda00767cd4e4ab6a25cef2241d6bcc (diff)
tracker/easy: Disable Kinect distortion coefficients usage thus notably fixing badly broken Z component in translation vector.
Close #1141 Close #1020
Diffstat (limited to 'tracker-easy')
-rw-r--r--tracker-easy/tracker-easy.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/tracker-easy/tracker-easy.cpp b/tracker-easy/tracker-easy.cpp
index 9fb41491..85b04026 100644
--- a/tracker-easy/tracker-easy.cpp
+++ b/tracker-easy/tracker-easy.cpp
@@ -154,8 +154,13 @@ namespace EasyTracker
// 5 - Radial fourth order
// 6 - Radial fifth order
// 7 - Radial sixth order
- for (unsigned k = 0; k < 8; k++)
- iDistCoeffsMatrix(k) = (double)iCameraInfo.dist_c[k];
+ //
+ // SL: Using distortion coefficients in this way is breaking our face tracking output.
+ // Just disable them for now until we invest time and effort to work it out.
+ // For our face tracking use case not having proper distortion coefficients ain't a big deal anyway
+ // See issues #1141 and #1020
+ //for (unsigned k = 0; k < 8; k++)
+ // iDistCoeffsMatrix(k) = (double)iCameraInfo.dist_c[k];
}