scivision / pyoptflow

Optical Flow estimation in pure Python
Apache License 2.0
76 stars 19 forks source link

Flipped output #3

Closed VictorZuanazzi closed 3 years ago

VictorZuanazzi commented 5 years ago

Hey,

Nice code!

The output is flipped. You probably have noticed. I fixed that with a simple np.flip.

im1 = np.flip(im1, 0)
im2 = np.flip(im2, 0)
scivision commented 5 years ago

im1.T might give the same effect. I don't modify the image orientations, it's just what comes from imageio.imread(), perhaps the most popular library for that task.