xHPx Posted August 11, 2009 Posted August 11, 2009 Hello there, autoit forums >_< Is it possible to get screen text with autoit? Text written on the screen in games, in example. Attached is an example, is it possible to get the name of the System with autoit?
zorphnog Posted August 11, 2009 Posted August 11, 2009 Try searching for OCR (optical character recognition).
Rambo Posted September 6, 2009 Posted September 6, 2009 Hey there, I made a simple tool using Tesseract to recognize numbers, but i have a problem: Tesseract converts 1 (0nes) as l (L letter) and the tool crashes... Any way to force to recognize only numbers? Thanks
JohnOne Posted September 6, 2009 Posted September 6, 2009 Hey there,I made a simple tool using Tesseract to recognize numbers, but i have a problem: Tesseract converts 1 (0nes) as l (L letter) and the tool crashes...Any way to force to recognize only numbers?ThanksCould you not just change it ?If $i = "L" then $i = "1"Just a thought. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Rambo Posted September 6, 2009 Posted September 6, 2009 Yes but i need to work with two digits number. Im using "Fileread" to get the numbers from Tesseract´s TXT output file. Maybe if i try with "Stringreplace"??
JohnOne Posted September 7, 2009 Posted September 7, 2009 I dont see why not, especially if tesseract is cvonsistantly returning an L. I've been using tesseract today and its been fine with 1 AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Rambo Posted September 7, 2009 Posted September 7, 2009 Since im using english language, i had no problems with my tests. A great surprise because i have no idea how to configure or "train?" Tesseract... For one or two digits, i´m doing this: If the filesize is 5 bytes, the captured file contains only one digit, so "Fileget" one character If the filesize is 6 bytes, the file contains two digits, so... Not a genius solution, but it works Thanks anyway for your ideas John
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