Closed Wuziyi616 closed 2 years ago
Hi, you can try to use demo_single_pair.py
which will triangulate a dense optical flow based on the sparse points. Directly reshaping the grid coordinates and feed it as input will be computational expensive.
force
argument outputs correspondences for all the input points, and avoid the drifting check.
Thanks for your prompt reply. That makes a lot of sense
Hi, thanks for the great work! I wonder how can I estimate the optical flow between two images. Say img1 is of shape [H, W], then can I basically reshape the grid coordinates to [H*W, 2] and then input to
queries_a
as in this demo?