First time here? Check out the FAQ!
answered 2018-08-29 04:10:48 -0600
Add this line,
background = np.ascontiguousarray(background)
and it would work.