Ask Your Question

Revision history [back]

Add this line,

background =  np.ascontiguousarray(background)

and it would work.