Ask Your Question

Revision history [back]

What kind of YUV do you want? There is cvtColor function in OpenCV. It converts images from one color space to another. You need to use one of CV_BGR2YUVxxx constant.