Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There is a similar code snippet in OpenCV tutorials. Based on Tutorial 1 I think that you should use Imgproc.COLOR_YUV420sp2RGB instead of Imgproc.COLOR_YUV2RGBA_I420.