I modified the demo code to feed a video and extract the flow between 2 consecutive frames. while the first result seems to be good, starting the next one, the result looks a bit weird. I am posting two pictures to show that. the original video is a dog walking around inside a room (camera top-down view). I turned the np result to a picture to view the process and as I said, except the first one, the rest does not look right: (I resized the frames to make it go faster, but original size gives the same results)
I can only think that it might be caused by the parameters set at the beginning. Or is it something else ? please let me know if you know how to get accurate optical flow.
Hi there,
I modified the demo code to feed a video and extract the flow between 2 consecutive frames. while the first result seems to be good, starting the next one, the result looks a bit weird. I am posting two pictures to show that. the original video is a dog walking around inside a room (camera top-down view). I turned the np result to a picture to view the process and as I said, except the first one, the rest does not look right: (I resized the frames to make it go faster, but original size gives the same results)
I can only think that it might be caused by the parameters set at the beginning. Or is it something else ? please let me know if you know how to get accurate optical flow.
Thank you !!