-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it a bug? #6
Comments
I'm not sure my implementation of rendering and overlaying using OpenGL. |
Thank you very much for your reply. Cheers, On Mon, Apr 22, 2013 at 7:30 AM, sonson [email protected] wrote:
|
I got focal length by using Camera Calibration Toolbox for Matlab. |
I replaced the teapot with a square which covered exactly the marker in the video. If the transformation is correct, the square should always covers the marker no matter how I rotated the iPhone.
I have tested it with the 640x480 video preview, it passed the test.
But with the 1280x720 video preview, if I rotated iPhone int the x or y direction with big angles, there will be blank space of the square in y direction and the square exceeds in the x direction, as the picture shows.
the marker in the video:
http://www.imageurlhost.com/images/oz264enc4lgtdlk27c1s.jpg
the square cover the marker in the 640x480 video:
http://www.imageurlhost.com/images/o4a6hie7kpmw0furc6oj.jpg
the square cover the marker the 1280x720 video:
http://www.imageurlhost.com/images/l9ex352qnkqtmfwtsbrq.jpg
Do I need to change opengl projection matrix while changing the video preset?
Thank you.
The text was updated successfully, but these errors were encountered: