Tutorial on OpenGL combined with OpenCV for Computer Vision

Does anybody know a good tutorial or documentation that deals with mixing OpenCV and OpenGL in C++, related with Computer Vision and 3D rendering?

I want to create virtual scenarios with objects and then find object's 3D poses using OpenCV, so I can compare with the known OpenGL position but I didn't find much "quality" information so far. For example, I would need the intrinsic parameters of the opengl camera in order to use OpenCV for detecting objects in 3D world, etc.


There is nothing difficult in mixing OpenGL and OpenCV. These are just two libraries, one for graphics and the other for computer vision. There is no overlap so you can just include both in your project.

Then it should be a matter of rendering some rectangle or a box (or whatever you wish to locate using OpenCV) - there are plenty of tutorials for that, and then copying the rendered data using the glReadPixels() function to client memory and passing that to OpenCV.

There is no tutorial most likely because it is so simple ...

链接地址: http://www.djcxy.com/p/57310.html

上一篇: 动态添加tinymce到新的textarea

下一篇: OpenGL与OpenCV结合的计算机视觉教程