vcg-uvic / sportsfield_release

Code release for WACV 2020, "Optimizing Through Learned Errors for Accurate Sports Field Registration"
Other
67 stars 25 forks source link

How to get the top-down-view image? #5

Closed ngthanhtin closed 3 years ago

ngthanhtin commented 3 years ago

Hi, this repo is interesting, but I wonder how to get the top-down-view image like this: tested_img

jiangwei221 commented 3 years ago

Hi, once you obtained the homography H that warps the template to the video frame, you can take a inverse of H, and the H_inv should bring the video frame to the tamplate.

jiangwei221 commented 3 years ago

Update: Added top-down view to the ipython notebook