I'm working on a project where I use cv::solvePnP to get the camera pose and use this pose to project a 3D model in an OpenGL window.
I used this link to go from opencv intrinsic and extrinsic matrices to opengl mvp matrices.
The projection seems to be fine just when I zoom on the object, it is slightly bigger with opengl as shown in the image : on the left is the object seen with the camera and on the right is what opengl projection gives me.
I thought I would have the exact same projection. Is it because of the distortion field or am I using the wrong projection matrix in opengl?