Ask Your Question

Revision history [back]

First of all, I suggest changing to the C++ API of OpenCV. The old C API is depricated and contains many reasons for bugs. Transparency can be done like this.

Then use the new Mat created as input to your drawing algorithm instead of the frame.