OpenGL Tutorial Combined with OpenCV for Computer Vision

Does anyone know a good tutorial or documentation related to mixing OpenCV and OpenGL in C ++ related to Computer Vision and 3D rendering?

I want to create virtual scripts with objects, and then find object 3D poses using OpenCV, so I can compare with the famous OpenGL position, but have not yet found a lot of "quality" information. For example, I need the internal parameters of an opengl camera to use OpenCV to detect objects in the 3D world, etc.

+7
source share
1 answer

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

Then this should be a matter of rendering some rectangle or rectangle (or what you want to find using OpenCV) - there are a lot of tutorials for this, then copying the rendered data using the glReadPixels () function to client memory and passing that to OpenCV.

No textbook, most likely, because it's that simple ...

+4
source

All Articles