Results 1 to 14 of 14

Thread: SRL-6/RS3 - New Fonts

  1. #1
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default SRL-6/RS3 - New Fonts

    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
    Last edited by Olly; 10-22-2013 at 12:55 PM.

  2. #2
    Join Date
    Feb 2012
    Location
    Discord
    Posts
    3,114
    Mentioned
    37 Post(s)
    Quoted
    538 Post(s)

    Default

    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?

  3. #3
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    Quote Originally Posted by The Killer View Post
    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.

  4. #4
    Join Date
    Nov 2011
    Location
    United States
    Posts
    815
    Mentioned
    6 Post(s)
    Quoted
    284 Post(s)

    Default

    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)

  5. #5
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    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)

    Forum account issues? Please send me a PM

  6. #6
    Join Date
    Dec 2011
    Location
    The Netherlands
    Posts
    1,631
    Mentioned
    47 Post(s)
    Quoted
    254 Post(s)

    Default

    Open Source Computer Vision Library.. interesting Hope it will work for RuneScape nowadays.
    Quote Originally Posted by Wizzup? View Post
    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.

    Script source code available here: Github

  7. #7
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

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

  8. #8
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

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

  9. #9
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    Thanks Olly

    Forum account issues? Please send me a PM

  10. #10
    Join Date
    Feb 2012
    Location
    Norway
    Posts
    995
    Mentioned
    145 Post(s)
    Quoted
    596 Post(s)

    Default

    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
    !No priv. messages please

  11. #11
    Join Date
    Dec 2007
    Posts
    2,112
    Mentioned
    71 Post(s)
    Quoted
    580 Post(s)

    Default

    Quote Originally Posted by warpie View Post
    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
    Last edited by Kasi; 10-24-2013 at 03:00 PM.

  12. #12
    Join Date
    Oct 2011
    Posts
    422
    Mentioned
    15 Post(s)
    Quoted
    116 Post(s)

    Default

    Quote Originally Posted by warpie View Post
    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:

    lhuwugM.png

  13. #13
    Join Date
    Oct 2011
    Posts
    422
    Mentioned
    15 Post(s)
    Quoted
    116 Post(s)

    Default

    Quote Originally Posted by warpie View Post
    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
    Last edited by slushpuppy; 10-28-2013 at 11:38 PM.

  14. #14
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Quote Originally Posted by slushpuppy View Post
    Works well for static BG images. You will need to use canny edge for images with bright BGs though


    Little update for you guys:
    [IMG]http://i.imgur.com/lhuwugM.png?1[/I MG]

    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
    So no more need for different fonts and no need for updates? Awesome work!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •