mattpoggi / depthstillation

Demo code for paper "Learning optical flow from still images", CVPR 2021.
MIT License
152 stars 11 forks source link

Optic flow generation on custom dataset #4

Closed zhilaAI closed 3 years ago

zhilaAI commented 3 years ago

Hello, Thank you for your great idea and code. How can we apply your code to a custom dataset? I have video frames and want to generate the optic flow for my dataset. How can I use your code? Thank you.

mattpoggi commented 3 years ago

Hi @zhilaAI, to run our pipeline, you need to first predict depth maps for every single frame (you can use https://github.com/intel-isl/MiDaS as we do). Then, you can use our code as shown with the sample image provided in this repo.

zhilaAI commented 3 years ago

Hi @zhilaAI, to run our pipeline, you need to first predict depth maps for every single frame (you can use https://github.com/intel-isl/MiDaS as we do). Then, you can use our code as shown with the sample image provided in this repo.

Thank you.