Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Change this:

luv3 = cv2.cvtColor(np.array(rgb1).astype('float32')/255, cv2.COLOR_RGB2Luv)

to

luv3 = cv2.cvtColor(np.array(rgb2).astype('float32')/255, cv2.COLOR_RGB2Luv)