https://github.com/demoriarty/minimaptracker-mobilenet

A League of Legends Minimap Tracker

https://github.com/demoriarty/minimaptracker-mobilenet

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.9%) to scientific vocabulary
Last synced: 5 months ago · JSON representation

Repository

A League of Legends Minimap Tracker

Basic Info
  • Host: GitHub
  • Owner: DeMoriarty
  • Language: Python
  • Default Branch: master
  • Size: 2.28 MB
Statistics
  • Stars: 9
  • Watchers: 3
  • Forks: 2
  • Open Issues: 1
  • Releases: 0
Created over 5 years ago · Last pushed over 4 years ago
Metadata Files
Readme

README.md

MinimapTracker-MobileNet

This is a minimap tracker for League of Legends.

Dependency

this code depends on OpenCV and PyTorch. please follow the instructions on official OpenCV and PyTorch website

Demo

https://youtu.be/m8-pJEsfJOM

How to use it?

1. download the repository

$ git clone https://github.com/DeMoriarty/MinimapTracker-MobileNet.git

2. edit run.py

3. change "video_path" to path of your video file

python video_path = "videos/lck.mp4" it's also possible to load videos directly from youtube, but you need to have pafy library installed $ pip install pafy python video_path = util.load_yt("https://www.youtube.com/watch?v=LST3AF-bpIA").url

4. change "save_path" to where you want to save the output JSON file

python save_path = "paths/lck.json"

4. change "targets" to the name/nickname of champions you want to track

python targets = ["morgana", "j4", "tf"]

5. optional: change "starts_at" to numbers of frames you want to skip before start tracking

this is usefull when there is loading screen at the start of the video.
let's say we want to skip to 1:34, then python starts_at = (minutes * 60 + seconds) * frame_rate = (60 * 1 + 34) * 30

6. optional: change "icon_radius"

usually icon_radius should be set to 11, but if this doesn't work, you can try other values under 20.

7. optional: set "show" to True if you want to see the tracking process

8. run the script

$ python run.py

Owner

  • Login: DeMoriarty
  • Kind: user

Beep boop

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 1
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: 7 minutes
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 6.0
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • MelioTatel (1)
Pull Request Authors
  • amirmnsr (1)
Top Labels
Issue Labels
Pull Request Labels