Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > League of Legends > League of Legends Hacks, Bots, Cheats & Exploits
You last visited: Today at 11:55

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[RELEASE] OCR - Tesseract trainedata for attackspeed

Discussion on [RELEASE] OCR - Tesseract trainedata for attackspeed within the League of Legends Hacks, Bots, Cheats & Exploits forum part of the League of Legends category.

Reply
 
Old   #1
 
Interløgy's Avatar
 
elite*gold: 729
Join Date: Aug 2016
Posts: 321
Received Thanks: 181
Arrow 🔥 RELEASE 🔥 OCR - Tesseract trainedata for attackspeed

Hello,

Here is a small release for people who want to make an external lol script.

SpaceGlider uses a screenshot to read the attack speed.
A machine can not read out numbers from a picture. Therefore Tesseract was used, because this is probably the best open source OCR.

The advantage of the training data of SpaceGlider is:
- Size of the HUD doesn't matter
- Very high accuracy
- Much faster (about 60 ms faster)


I initialized it like this:
Code:
instance = new Tesseract();
instance.setTessVariable("user_defined_dpi", "1000");
instance.setTessVariable("tessedit_char_whitelist", "0123456789.");
instance.setDatapath("./tessdata");
instance.setLanguage("LoL");
Meanwhile there is an API to read out the attack speed.
But nobody knows if it will stay forever, because this API is quite abused.

Credits to trickory#0616, who trained the font for Tesseract. <3

Attached Files
File Type: rar lol_trainedata.rar (14.1 KB, 87 views)
Interløgy is offline  
Thanks
2 Users
Old 06/27/2020, 03:53   #2
 
aman2424's Avatar
 
elite*gold: 0
Join Date: Nov 2016
Posts: 18
Received Thanks: 1
How to use?
aman2424 is offline  
Old 06/27/2020, 11:17   #3
 
f00lish's Avatar
 
elite*gold: 0
Join Date: Oct 2013
Posts: 91
Received Thanks: 539
Using tesseract alone in your script will be very slow as it requires many steps to be taken for each iteration. Especially when you have a potato pc.

I would recommend it for experimental use only.


Quote:
Originally Posted by aman2424 View Post
How to use?

It's a language file designed for the league of legends font style.
f00lish is offline  
Old 06/27/2020, 20:40   #4
 
Interløgy's Avatar
 
elite*gold: 729
Join Date: Aug 2016
Posts: 321
Received Thanks: 181
Quote:
Originally Posted by f00lish View Post
Using tesseract alone in your script will be very slow as it requires many steps to be taken for each iteration. Especially when you have a potato pc.

I would recommend it for experimental use only.





It's a language file designed for the league of legends font style.
It takes 10ms to 15ms to read out the attack speed (Instead of 60-100ms)
So it could be used for attackspeed easy without Autoattack-Cancel.


Quote:
Originally Posted by aman2424 View Post
How to use?
Which programming language you´re using?
Just look for a tutorial how to use Tesseract.

When initializing the instance of Tesseract, you must specify my trainedata.

I initialized it like this:
Code:
instance = new Tesseract();
instance.setTessVariable("user_defined_dpi", "1000");
instance.setTessVariable("tessedit_char_whitelist", "0123456789.");
instance.setDatapath("./tessdata");
instance.setLanguage("LoL");
I've also prepared the picture a bit:
(May you should not overwrite the parameter like i did)
Code:
public BufferedImage improveQuality(BufferedImage subimage) {
    subimage = ImageHelper.convertImageToGrayscale(subimage);
    subimage = ImageHelper.invertImageColor(subimage);
    subimage = ImageHelper.getScaledInstance(subimage, subimage.getWidth() * 3, subimage.getHeight() * 3);
    return subimage;
}
Interløgy is offline  
Old 06/29/2020, 03:19   #5
 
LeagueAddons's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 254
Received Thanks: 96
Nice release!
Thank you for this ^^
LeagueAddons is offline  
Old 06/29/2020, 14:44   #6
 
elite*gold: 0
Join Date: Apr 2020
Posts: 2
Received Thanks: 0
thanks for the release

but How can that helps with the attack cast time ?
moechenten is offline  
Old 06/29/2020, 23:45   #7
 
elite*gold: 0
Join Date: Nov 2019
Posts: 18
Received Thanks: 0
Interesting, thanks will be useful to play around with.
kaioken1 is offline  
Old 07/01/2020, 00:09   #8
 
Interløgy's Avatar
 
elite*gold: 729
Join Date: Aug 2016
Posts: 321
Received Thanks: 181
Quote:
Originally Posted by moechenten View Post
but How can that helps with the attack cast time ?
If you make an external Orbwalker, this file will help you to make your tesseract more accurate and faster.
Interløgy is offline  
Reply


Similar Threads Similar Threads
OCR with tesseract -> just bad results [AutoIt]
05/18/2019 - AutoIt - 4 Replies
Hey guys, i need your help with OCR: Im trying to read a PIN from a game (WWE Supercard), and want to input the code to the virtual keyboard of the game. The layout of the keyboard and the buttons is always a bit random, but this i can check with autoit and image search. The main problem i have, is that the ocr ressult is always wrong.
[Selling] Tesseract.cc - External CS:GO Multihack | Slotted | VAC Undetected
07/29/2017 - Counter-Strike Trading - 3 Replies
DON'T COME TO ME ASKING FOR A TRIAL, I AM NOT GOING TO GIVE YOU ONE. Slots: 6/10 currently filled This cheat is intended for legit play rather than hvh/rage. Video: - https://www.youtube.com/watch?v=kjdGDSloar4&fe ature=youtu.be - ^ ESP does not flicker in game, the video was just messed up.
[Suche] Jmd der sich mit Tesseract auskennt [Biete] 10€/500 e*gold
01/28/2014 - elite*gold Trading - 1 Replies
Hey, wenn sich einer damit auskennt einfach schreiben, zahle 10€ Paypal oder 500 e*gold. MfG, maxasoft
tesseract.exe
04/24/2013 - AutoIt - 2 Replies
hallo, ich würde gerne wissen ob sich jemand mit "tesseract.exe" auskennt und mir sagen kann ob er beim erkennen von Bildern nur bestimmte Zeichen sucht, ich bräuchte um ein capture zu knacken nur Kleinbuchstaben, keine Sonderzeichen und keine Großbuchstaben und keine Zahlen. mfg



All times are GMT +1. The time now is 11:57.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.