1 | initial version |
From what I understand you can' t draw with openGL on an opencv Mat. You may draw in opengl and somehow put the openCV image as a background (and i don' t really know enough openGL to suggest how to do it) but the other way around seems not so plausible : a 3d canvas such openGL may embed a 2d canvas such as the openCv Mat datastructure but not the other way around.