Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To read RGBA image as 4-channel image, you should additionally pass a flag to imread:

cv2.imread("path", -1);
as it described in imread manual.