Reprojection of the camera projection

asked 2015-02-11 10:34:36 -0500

palmerc gravatar image

I'm using OpenCV in conjunction with an augmented reality app. It works fine on iPhone 5S, but not on iPad and I believe the issue is the aspect ratio. If it isn't THE reason, it is at least one problem.

Aspect ratio of the iPad

So here you see the aspect ratio of the camera 1280x720 with respect the screen at 1024x768. Now applying the camera calibration matrix to my projection matrix and using OpenCV I can track a framemarker. You can check it out in the video:

Video of framemarker tracking on iPhone 5S

So how does one reproject a camera projection to a this different aspect ratio?

edit retag flag offensive close merge delete