Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

imho, your way to acess the flow array is broken.

a 'correct' numpy slice would look like:

flow[:,:,0] # 1st channel (dx)
flow[:,:,1] # 2nd channel (dy)