From f9cf52210ec791f1d913f86bb18a0c42ee930d49 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 2 May 2019 19:02:48 +0200 Subject: video: store intrinsics as double Issue: #939 --- video/camera.hpp | 6 +++--- 1 file 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(); -- cgit v1.2.3