In this project, homography matrix is calculated between the soccer images and 2D soccer model. This project is made for EEE4512 Image Processing class. Details of the project can be found in the report.
Homography matrix is calculated by detecting key points in the soccer field, and matching them with the 2D model. Details of the algorithm can be read in the report. The below images show the final output of the algorithm.
- https://towardsdatascience.com/random-sample-consensus-helps-you-filter-those-pesky-outliers-9dbfbb8b668f (RANSAC algorithm)
- https://towardsdatascience.com/a-bonsai-and-an-ellipse-f68c78dbacb8 (ellipse fitting)
- RANSAC and ellipse fitting algorithms are integrated from this repo.