Results 1 to 5 of 5

Thread: question about GetTextAtEx

  1. #1
    Join Date
    Jan 2007
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default question about GetTextAtEx

    So I was planning on using simba to code a program for another game other then runescape and I have most of it done however I need to grab text from a screen to finish the last part.

    So I took a look at the simba OCR documentation. I saw the GetTextAtEx function and it looks like what I need however I was wondering how exact it is. Can it read non-standard text? I would mainly be reading numbers and it would be things like











    If it can read things like that could I get a short example of the function?

    (also whatever happened to the wiki lol all I could find was the documentation)
    Last edited by marksteele; 12-17-2011 at 04:13 AM.

  2. #2
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    You will need to make your own font for Simba to recognize that.
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


  3. #3
    Join Date
    Jan 2007
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Kyle Undefined View Post
    You will need to make your own font for Simba to recognize that.
    hmmm ok that shouldnt be too hard

    (heh or I can just be lazy and make the user input it :P)

    also if I had the font (one of them for example is MuseoSans) I should be able to get it to check through the font types till finds one it can recognize right, since it seems to use multiple font types
    Last edited by marksteele; 12-17-2011 at 04:20 AM.

  4. #4
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    I'm not sure the OCR works very well for distorted text. It's not written to solve captchas, but you could give it a try. Otherwise try http://docs.villavu.com/simba/script...maptolerancein (run each characters on the bitmap, see what one results with the highest accuracy.) Either way, I don't think there is a de-facto way to do this.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  5. #5
    Join Date
    Jan 2007
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    hmmm might be fun trying to do it then since I have a large amount of time on my hands :P. Its not a captcha persay the devs decided they would use 3 or 4 different font sets to make it look different lol.

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
  •