obtain OpenGL camera(view) matrix from openCV findhomography
Posted
by
user1828449
on Stack Overflow
See other posts from Stack Overflow
or by user1828449
Published on 2013-06-26T04:15:45Z
Indexed on
2013/06/26
4:21 UTC
Read the original article
Hit count: 541
I want to build an AR application on Android by opencv and opengl. I found GL_MODELVIEW can place camera and model in world coordinates like the following link
I tried to load a simple model-view matrix by gl.glLoadMatrixf(newMat, 0);
and it works
so I want to draw 3d model on the top of my target image if i got the four corner points of the target image because model-view matrix is needed
I want to know if I can obtain the camera view matrix by opencv's findhomography
© Stack Overflow or respective owner