Skip to content

HugoJF/cs2-radar-matching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS2 radar image matching

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.

Some examples

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/ d2.webp

Test 1

Input image:

test1.png

Feature matching:

side-by-side.jpeg

Affine transform result:

affine.jpeg

Homography result:

homography.jpeg

Test 2

Input image:

test2.png

Feature matching:

side-by-side.jpeg

Affine transform result:

affine.jpeg

Homography result:

homography.jpeg

Test 3

Input image:

test3.png

Feature matching:

side-by-side.jpeg

Affine transform result:

affine.jpeg

Homography result:

homography.jpeg

Test 4

Input image:

test4.png

Feature matching:

side-by-side.jpeg

Affine transform result:

affine.jpeg

Homography result:

homography.jpeg

About

Homography/affine matching CS2 radar images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages