Hi @suhangpro ,
Thank you for your code. I have downloaded your code and use provided test code to generate optical flow of two images. I just choose two frames of a video, but there are some errors when I run the code.
Errors display as:

What's the problem with it? I need some more operations?? Thank you~
Hi @suhangpro ,

Thank you for your code. I have downloaded your code and use provided test code to generate optical flow of two images. I just choose two frames of a video, but there are some errors when I run the code.
Errors display as:
What's the problem with it? I need some more operations?? Thank you~