diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-05-02 19:02:48 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-05-03 04:34:03 +0200 |
commit | f9cf52210ec791f1d913f86bb18a0c42ee930d49 (patch) | |
tree | c5a3fe6aa4d8b22fd0ecedbfcd4f7a133aff72f4 | |
parent | 03092469c8c84e03f9099a0d147217561706a1e8 (diff) |
video: store intrinsics as double
Issue: #939
-rw-r--r-- | video/camera.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/video/camera.hpp b/video/camera.hpp index 250bad36..a0fe0adb 100644 --- a/video/camera.hpp +++ b/video/camera.hpp @@ -50,9 +50,9 @@ struct OTR_VIDEO_EXPORT camera { // TODO: expose FOV-based focal length for regular webcams int width = 0, height = 0, fps = 0; - float fx = 0, fy = 0; // focal length - float P_x = 0, P_y = 0; // principal point - float dist_c[8] {}; // distortion coefficients + double fx = 0, fy = 0; // focal length + double P_x = 0, P_y = 0; // principal point + double dist_c[8] {}; // distortion coefficients }; camera(); |