Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

After some days of research in different directions, I found the problem: the frame format should be BGR, not RGB! That means

Imgproc.cvtColor(frame, frame, Imgproc.COLOR_RGBA2BGR);