Skip to content

Detecting League of Legends champions on the minimap using OpenCV

License

Notifications You must be signed in to change notification settings

haogefeifei/LeagueMinimapDetectionOpenCV

 
 

Repository files navigation

Detecting League of Legends champions on the minimap using OpenCV

Source code to my blog post

Setup

pip install -r requirements.txt

League version

Assumes patch 10.7

Running

python test_ingame.py

Assumptions: The game is running in 1920x1080 resolution. Modify minimap_ratio and icon_ratio in test_ingame.py to adapt to different resolution.

This will output something like this in an external window:

About

Detecting League of Legends champions on the minimap using OpenCV

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%