Drew Posted January 17, 2008 Share Posted January 17, 2008 Is there anything that could read text thats like, part of a image? I've here theres ways to go about it, but despite my searching, I can't figure it out. Heres a sample of what I'm trying to read is like.http://img20.imageshack.us/my.php?image=screenshot153lj0.jpgIt's no different directly into the game. The AutoIt window tool doesn't read visible, or hidden text from it. Buts theres got to be a way. =( I'm just not quite smart enough to come up with the answer.A Friend, Dreu Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted January 17, 2008 Share Posted January 17, 2008 There are a few ways. Create an OCR to read the text, and the other ways ,yeah I won't bother packet data / decrypting files and so on and so forth. Otherwise it is going to be really hard to do such a thing. Link to comment Share on other sites More sharing options...
Drew Posted January 17, 2008 Author Share Posted January 17, 2008 Alright I've been doing some research on OCR's and a whole bunch of testing. I'm curious to know what OCR stands for? That and do you know of any places where it explains its purpose and how it does what it does? I've found a bunch of examples, one of which DIRECTLY related to what I'm trying to do, but I would really like to understand how to do this for future reference, instead of just using someones example and moving on. I've been searching for that to, but to no luck. Thanks for your help so far, you've got me moving in the right direction =). Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted January 17, 2008 Share Posted January 17, 2008 Optical Character Recognition. Essentially it grabs pixels, takes a pixelchecksum and compares it to an existing checksum of an image and if they are with in a whatever range that you may specify then your good to go and you've recognized a letter/text or whatever the check sum is of. Link to comment Share on other sites More sharing options...
Drew Posted January 17, 2008 Author Share Posted January 17, 2008 Alright I almost decided to send you a private message with these questions instead, but maybe some other guys will have these questions too.I found this example: http://www.autoitscript.com/forum/index.ph...2&hl=diabloAnd to make it so I can run it when I have the text I want to read up on the screen, I wrote this:HotKeySet( "`", "_Run") HotKeySet( "{TAB}", "_Exit") While 1 Sleep( 1 ) Wend Func _Run() Run( "Real_OCR.exe", @ScriptDir) EndFunc Func _Exit() Exit EndFuncBut it doesn't do anything visually, but it has a output file that it edits I believe with the text that it reads. Well, after every test thats blank. I've been trying to read the code to find out what I could be missing , but the codes written for Diablo. Any ideas? Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted January 17, 2008 Share Posted January 17, 2008 Alright I almost decided to send you a private message with these questions instead, but maybe some other guys will have these questions too. I found this example: http://www.autoitscript.com/forum/index.ph...2&hl=diablo And to make it so I can run it when I have the text I want to read up on the screen, I wrote this: HotKeySet( "`", "_Run") HotKeySet( "{TAB}", "_Exit") While 1 Sleep( 1 ) Wend Func _Run() Run( "Real_OCR.exe", @ScriptDir) EndFunc Func _Exit() Exit EndFunc But it doesn't do anything visually, but it has a output file that it edits I believe with the text that it reads. Well, after every test thats blank. I've been trying to read the code to find out what I could be missing , but the codes written for Diablo. Any ideas? You do know that every OCR is different? And if your game isn't diablo 2, then it isn't going to work... Link to comment Share on other sites More sharing options...
Drew Posted January 17, 2008 Author Share Posted January 17, 2008 Game is Diablo 2, and yes I understand that each OCR is different. I do my own research before asking for help, and the only help I ask for is for what confuses me. Going on the knowledge that this was written specifically for the game I'm trying it on, It should be ready to go when using his compiled version. Nothing that I have to do to it than, right? Link to comment Share on other sites More sharing options...
Drew Posted January 18, 2008 Author Share Posted January 18, 2008 Bump. Is there anything I'm supposed to edit? Link to comment Share on other sites More sharing options...
Drew Posted January 19, 2008 Author Share Posted January 19, 2008 Alright this isn't even working with the .exe given , testing on the Images given. It's driving me crazy. I have all the newest AutoIt stuff. Link to comment Share on other sites More sharing options...
Xav Posted January 19, 2008 Share Posted January 19, 2008 (edited) Alright this isn't even working with the .exe given , testing on the Images given. It's driving me crazy. I have all the newest AutoIt stuff.you cant read becose they make it glitch and (i tryed to get colors it come all the sames u have to move and PAUSE then move again pause none stop to get colors )or the text is glitch back ground i think you cant get the textHummm u think with a mode data folder you can get ps : if you can say me Edited January 19, 2008 by Xav Link to comment Share on other sites More sharing options...
jakub Posted January 20, 2008 Share Posted January 20, 2008 i can try to help you, send me pm. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now