I have written two sets of code. One is using OpenCV (for marker detection) and another OpenGL (for creating a simple 3D box).
But I have no clue how to integrate those two. For example: Displaying the box on detected maker.
With the functions of OpenCV such as cvFindExtrinsicCameraParams2,cvRodrigues2 I have obtained the rotation vector and rotation matrix. But I cannot understand how I can pass these points to OpenGL so that it can draw a 3d shape on the detected marker?
You might try something along these lines.
They even have a SVN repo.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With