An error regarding the. flo file
huaxiaojian1997 opened this issue · 4 comments
Hello,@sniklaus
I installed pytorch-pwc according to your instructions. I successfully generated the. flo file, but I encountered a problem. After I visualized the. flo file and converted it to png file, I found the lower part of the picture was covered. I am not sure what this is. Can you help me?
Looks like a bug when reading the .flo
file. Have you tried using cv2.optflow.readOpticalFlow
?
May I ask if the cv2.optflow.readOpticalFlow you mentioned is the file in OpenCV 3.4?
Seems like it: https://docs.opencv.org/3.4.0/d7/df9/namespacecv_1_1optflow.html
It might be part of opencv_contrib
though, so your mileage may vary.
I used the program of OPTICAL FLOW TOOLKIT v0.1 on GitHub to convert. flo files into png files. I will try OpenCV to convert, thank you