Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 1.05 KB

README.md

File metadata and controls

18 lines (12 loc) · 1.05 KB

Homography-Estimation

Homography Estimation That Transforms an Image to Model Soccer Field with warpPerspective Implementation

Model Soccer Field

image

App uses model soccer field image as base image. Then estimates homography matrix and warps perspective. While warping perspective interpolates the image. To interpolate; first uses np.linspace() to create evenly spaced sample number (dimension times).

Then uses np.meshgrid(xVector, yVector) to return coordinate matrices from coordinate vectors.

image

At the end it uses scipy.interpolate.griddata() to interpolate with Nearest-neighbor interpolation method.

Example Images

image image