summaryrefslogtreecommitdiffhomepage
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-08-30 17:50:09 +0200
commitfbdd02e1dac2dd591205cbf8e6ac2972446738e5 (patch)
tree47e4000c118d958c0722b7794adfad7a089287e2
parent3495ddbdfcda00767cd4e4ab6a25cef2241d6bcc (diff)
tracker/easy: Disable Kinect distortion coefficients usage thus notably fixing badly broken Z component in translation vector.kinect-disable-dist-coeffs
Close #1141 Close #1020
-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];
}