Skip to content

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

Notifications You must be signed in to change notification settings

sglbl/Homography-Estimation

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published