use camera calibration matrices in opengl to augment a virtual object on special marker

asked 2013-09-18 05:34:59 -0500

sara1010 gravatar image

updated 2013-09-18 05:39:59 -0500

berak gravatar image

I can calibrate my android device camera and get camera matrix and distortion coefficient . In my android project I want to augment a virtual object on a marker.I can generate the bitmap of marker in runtime and save it in sd card. I am a beginner in opencv. I have some question ,and I really be appreciate if you give me some example code in android as answer. How Can I detect the marker in video by using opencv in android ( with this attention that I have the stored bitmap of marker in sd card) How Can I augment virtual object on marker with OpenGl ?(with this attention that I have camera matrix and distortion coefficient.)

edit retag flag offensive close merge delete


Hi, Sara! May be this post will be useful: Also, you can check OpenCV's books:, they have some examples of AR.

Daniil Osokin gravatar imageDaniil Osokin ( 2013-09-21 07:33:50 -0500 )edit

thanks alot daniil!! these can help me so much,but if I find a simple example of augmented reality in android by using opencv it was excellent

sara1010 gravatar imagesara1010 ( 2013-09-24 08:58:37 -0500 )edit