Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to get Y, U, V from image

I use OpenCV 3.0 in Python3.4. I have BGR image converted to YUV420:

out_image = cv2.cvtColor(in_image, cv2.COLOR_BGR2YUV_I420)

How to get Y, U, V values from out_image?