
can let you know about my progress, but the online ocr readers work quite well with the new screenshots already!
If it were to be integrated into screenshots for Trade here on the site etc. it'd have to be PHP with a jQuery frontend that can hook into a library called PLupload.Sabcoll wrote: 3 years ago there are some easy to handle tools for it in python, i'll try them maybe next week
can let you know about my progress, but the online ocr readers work quite well with the new screenshots already!
Interesting... will have a look at this for next patch! Would be cool to dynamically change the stats on items in trade ads and the holy grail tool.Sabcoll wrote: 3 years ago Then you might give tessaract a shot.
It's what I've been using in python..
https://github.com/naptha/tesseract.js#tesseractjs
:O Sounds nuts dude, do you think you're still going to continue?Sabcoll wrote: 3 years ago Okay, so after only a few hours of messing around, I came to the conclusion that I would need to start at the very beginning:
Creating a D2R Font File and train a whole tesseract model to "read" the Font File Characters.
I guess this will take a whole lot longer...
Would definitely be a sick way to input the items yeah. Just drag and drop a screenshot and added to grail.Sabcoll wrote: 3 years ago Maybe it would be a good way to create a holy grail tracker or something similar.
That's pretty cool, nice work!Sabcoll wrote: 3 years ago This is my current state of "learning" the D2 Font.
https://imgur.com/a/ExV2g9h
I'm pretty happy so far with the outcome and that without using any filters yet.
But a little bit of postprocessing done by tesseract already.
If I can manage to write some rules, e.g.
(41 -> If there is a "(" there has to be a ")" too.
So 1 has a lilelyhood and will be replaced by ")".
Or ' followed by a number is not allowed, so ' has to be a + ...
I need to think about the effort to do that or if it's just easier to correct it manually..
This is just one image tried and sometimes the carriage returns aren't working with some data ending up on the same line like below.Que-Hegan's Wisdom
Mage Plate
DEFENSE: 644
DURABILITY: 33 OF 60
REQUIRED STRENGTH: 55
REQUIRED LEVEL: 51
+1 TO ALL SKILLS
+20% FASTER CAST RATE
+20% FASTER HIT RECOVERY
+146% ENHANCED DEFENSE
+15 TO ENERGY
MAGIC DAMAGE REDUCED BY 6
+3 TO MANA AFTER EACH KILL
HOLD SHIFT TO COMPARE
Overall impressed by the accuracy though.Que-Hegan's Wisdom
Mage Plate
DEFENSE: 644
DURABILITY: 33 OF 60 REQUIRED STRENGTH: 55 REQUIRED LEVEL: 51
+1 TO ALL SKILLS
+20% FASTER CAST RATE
+20% FASTER HIT RECOVERY
+146% ENHANCED DEFENSE
+15 TO ENERGY
MAGIC DAMAGE REDUCED BY 6 +3 TO MANA AFTER EACH KILL
HOLD SHIFT TO COMPARE
Just chiming in to say that many will be using things like gyazo or other web services for screenshots/uploads. These will definitely compress the images, introducing distortion and artefacts, that I'm positive will affect the performance of any OCR stuff.Sabcoll wrote: 3 years ago Your picture of Que-Hegan's is "pretty perfect" to be used, but it's not the reality.
So I tried with you screenshot and this is the result. Note that this is a download of your posted file which isn't the best resolution since it's snipes from his steam and then compress by imgur afaik.Sabcoll wrote: 3 years ago @mengstrom woah, that's amazing!
There are so many possibilities out there, thanks for mentioning google lens.
There is also an API for it:
https://codelabs.developers.google.com/ ... i-python#0
I took some screenshots from MrLlamas Stream.
Because I took the pictures from his Stream and he has the tooltips over his inventory (see all the charms) tesseract has some trouble with the font.
Your picture of Que-Hegan's is "pretty perfect" to be used, but it's not the reality.
Can you maybe check the google lens with the pictures from MrLlama?
See my links, on the left is the "original"...
EDGE
TIRTALAMN
Twe-HAND DAMAGE: 4 TO 8
REQUIRED DEXTERITY: 35
REQUIRED STRENGTH: 25
REQUIRED LEVEL: 25
Bew CLASS VERY FAST ATTACK SPEED
LEVEL 15 THORNS AURA WHEN EQUIPPED
+35% INCREASED ATTACK SPEED
+361% DAMAGE TE DEMONS
+280% DAMAGE TO UNDEAD
+75 PRISON DAMAGE OVER 5 SECONDS
7% LIFE STOLEN PER HIT 52
Built a little quick and dirty test React app Saturday that uses the PLupload library Teebling mentioned to load the images locally, display a preview and run it though tesseract.js using the default eng language data. I'm still working on making my own training data when I have time (never messed around with that so it's a learning experience). I'm hoping the text recognition speed increases with better test data, as it is now with eng it takes several seconds per image.Sabcoll wrote: 3 years ago If anyone is interested in doing some webdevelopment on the topic,
there are already pretty good tools from tesseract.js
https://www.npmjs.com/package/tesseract.js/v/2.1.1
Users browsing Forums: Ahrefs [Bot],
Artofwar,
craft_fear,
fredkid,
gensymmed,
human_being,
mhlg,
moot11,
Proximic [Bot] and 155 guests.
Damage vs. Bots: 69
Durability: 420
Permabans Account
Permabans Email
Deletes all Posts
Deletes all Profile Fields
Deletes all Private Messages
Deletes Signature
Slain Bots Rest in Peace
List trades and earn trust
Level up as you post
Give and Receive Likes
Discreet Notifications
Avatar & Profile customisation
Private Messaging
Bookmark Pages & Posts
Use Drafts & Revisions
Attach Images
Registering is quick & easy :)
Create account
Top right dropdown > Account Prefs > Squelches
.
Sabcoll
105