Skip to content

An overlay to show average creep score per minute using OCR in League of Legends

Notifications You must be signed in to change notification settings

vrevolverrr/league-cs-overlay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Creep Score Overlay

✨ An overlay to show average creep score per minute in League of Legends ✨

Usage

Download the latest release here and run the executable! To change the font size, open notepad and type in your desired font size then save the file as "font.cfg" without double quotes in the same directory as the executable.

Limitations

Currently only supports fullscreen borderless 1920x1080 resolution

Explanation

A screnshot of the in game creep score counter is taken. The screenshot is cropped so that each frame only contains one digit exactly (10 px wide by 12 px tall).

The grayscale of the cropped frames are then compared to grayscale of target frames consisting of digits 0-9 and blank (no digit) to find the most similar digit. This is done by calculating the mean squared error (MSE) between the observed frame and each target frame.

The resulting number is then divided by the game time which is obtained through the game's LiveClientAPI to obtain the average creep score per minute.

The overlay is just a transparent Tkinter window.

Made with ❤️ Bryan Soong

About

An overlay to show average creep score per minute using OCR in League of Legends

Topics

Resources

Stars

Watchers

Forks

Languages