Skip to content

Commit

Permalink
video: store intrinsics as double
Browse files Browse the repository at this point in the history
  • Loading branch information
sthalik committed May 3, 2019
1 parent 0309246 commit f9cf522
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions video/camera.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit f9cf522

Please sign in to comment.