Matches CS2 radar screenshots to the reference texture of a map using homography/affine transforms. The intent of this proof-of-concept is to figure out player position in a map just by using the in-game radar.
This branch only implements the image matching and transforms, writing the results to files for further analysis. It does not detect the map being checked, transforms player position indicator to "map space", confidence checks, etc etc.
All the 4 examples in the repository are using de_dust2 with the following reference image:
The reference image can be compared to the homography/affine results side-by-side by using: https://www.diffchecker.com/image-compare/

Input image:
Feature matching:
Affine transform result:
Homography result:
Input image:
Feature matching:
Affine transform result:
Homography result:
Input image:
Feature matching:
Affine transform result:
Homography result:
Input image:
Feature matching:
Affine transform result:
Homography result:















