Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I had the same problem. Wrap the numpy array with cv.fromarray()

import numpy 
import cv  
a = numpy.ones((5,5,1),float)
cv.Save("a.xml",cv.fromarray(a))

It is depreciated functionality but ATM works.