SRL Archive - SRL Updates & Announcements

SRL-6/RS3 - New Fonts


Olly

2013-10-22 08:51:32

Hey all,

You may or may not know that the fonts over the last couple of months have been changing from straight clear pixels to more of a smooth text approach, this why SRL-6 has been lacking some functions that require text reading, (xp bar, run energy) and such. This new 'smooth text' is quite a-bit harder to read than the traditional text. Why am I posting this now? Today the mouse-over text was changed to this new font style which is a core part of all scripts and SRL-6.

But the good news, @slushpuppy has recently been working on a openCV type plugin for us so we will be able to read all these fonts, but of course he is quite a busy guy so im not sure when we will get our hands on this plugin.

I will be looking into a temporary solution for mouse-over text for the mean time so we can get our scripts + the include functioning correctly.

For those that are wondering what a close up of the text looks click here.

Thanks,
The SRL Development Team

The Killer

2013-10-22 17:04:06

Thanks for keeping us updated officially, what I had heard before this was fairly unclear. But this sums it up pretty well.
Suggestion: We could count the amount of pixels and compare it with the amount we would expect as a temporary solution?

Olly

2013-10-22 17:32:59

From: The Killer
Thanks for keeping us updated officially, what I had heard before this was fairly unclear. But this sums it up pretty well.
Suggestion: We could count the amount of pixels and compare it with the amount we would expect as a temporary solution?


Sure, I guess… Il get to it asap. :)

Itankbots

2013-10-22 23:23:41

Hmmm yeah i need to figure out a temp fix for my old SRL5 scripts too. Can't port them to Srl6 until its more stable/finished. Let me know if you find a good temp fix (you're better at it then me lol)

Justin

2013-10-23 00:06:18

Finally just finished making bitmaps for Mouse Text (for my fletcher). The update broke other still too, (Lobby screen -> Login to game and compass colours so far)

J J

2013-10-23 07:37:56

Open Source Computer Vision Library.. interesting :) Hope it will work for RuneScape nowadays.
From: Wizzup?
I have yet to see opencv do anything useful on runescape.


Slushpuppy has shown some interesting stuff in this thread. Looks like it would be a very nice addition to Simba.

Olly

2013-10-23 22:28:27

I have added a temporary fix for now via pixel counting, use
writeln(getMouseOverTextCount());
to get the amount of text pixels (will result -1 if none found) and then
 isMouseOverTextCount(amount_of_text_pixels); 
as a replacement for isMouseOverText() for now. :)

Ian

2013-10-23 22:31:09

From: Olly
I have added a temporary fix for now via pixel counting, use
writeln(getMouseOverTextCount());
to get the amount of text pixels (will result -1 if none found) and then
 isMouseOverTextCount(amount_of_text_pixels); 
as a replacement for isMouseOverText() for now. :)


Thanks Olly :)

Justin

2013-10-24 00:27:03

Thanks Olly :)

slacky

2013-10-24 09:28:22

Thresholding the text should work just fine… Don't see how this can even be close to a problem.


Maybe a small change/upgrade to the OCR engine in Simba might be appropriate tho..

Could even run adaptive threshold on the whole image as well, without it being problematic:
http://oi39.tinypic.com/2h4fjav.jpg

Kasi

2013-10-24 10:52:01

From: warpie

Could even run adaptive threshold on the whole image as well, without it being problematic:


Someones actually working on a OpenCV plugin for simba atm, can't remember who.
if you have code in Lape, would be a great fix.

Edit: nvm, saw you posted on @slushpuppy;'s thread

slushpuppy

2013-10-28 19:34:39

From: warpie
Thresholding the text should work just fine… Don't see how this can even be close to a problem.


Maybe a small change/upgrade to the OCR engine in Simba might be appropriate tho..

Could even run adaptive threshold on the whole image as well, without it being problematic:
http://oi39.tinypic.com/2h4fjav.jpg


Works well for static BG images. You will need to use canny edge for images with bright BGs though


Little update for you guys:

[ATTACH=CONFIG]22351[/ATTACH]

slushpuppy

2013-10-28 19:36:20

From: warpie
Thresholding the text should work just fine… Don't see how this can even be close to a problem.


Maybe a small change/upgrade to the OCR engine in Simba might be appropriate tho..

Could even run adaptive threshold on the whole image as well, without it being problematic:
http://oi39.tinypic.com/2h4fjav.jpg


Works well for static BG images. You will need to use canny edge for images with bright BGs though


Little update for you guys:

At this moment, the script can't really make out text from bright BGs. I still need to do a bit of tinkering with the algor before launch.

When fully finished, this script should be a universal OCR where you can simply call LibCVExtractText() on anything that remotely looks like a string and obtain the results

Ian

2013-10-28 20:01:58

From: slushpuppy
Works well for static BG images. You will need to use canny edge for images with bright BGs though


Little update for you guys:


So no more need for different fonts and no need for updates? Awesome work! :)