Results 1 to 3 of 3
- 12-08-2011, 10:07 PM #1
Member
- Join Date
- Dec 2011
- Posts
- 31
- Rep Power
- 0
How would you read letters and numbers off of the actual screen?
This may seem like a question that doesn't deserve to be in the advanced section but here goes.
How would you go about creating a program that can read/interpret something that is on your screen.
For Example: If I wanted to make a program read the java forums slogan, located around the top left corner of this page ( "where learning and development begins").
Would it be possible to get that image data as a string so that I can use it in if statements and such?
I already have some ideas about doing this but they aren't really optimal.
- 12-08-2011, 10:13 PM #2
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,604
- Rep Power
- 5
Re: How would you read letters and numbers off of the actual screen?
Google 'Optical Character Recognition'. You will see this problem is a lot more difficult than you may think. There are a few libraries out there that might help, but they are based upon machine learning algorithms that must be trained (and as a result may not always be correct depending upon the training and the input)
- 12-09-2011, 02:57 AM #3
Member
- Join Date
- Dec 2011
- Posts
- 31
- Rep Power
- 0
Re: How would you read letters and numbers off of the actual screen?
Thanks for the info. In the past I've tried to do stupid and tedious work of gathering pixel locations, getting buffered images, drawing rectangles around certain portions of the screen, and didn't really get anywhere.
This topic what just the kind of thing I was looking for.Last edited by JeffThomas; 12-09-2011 at 03:00 AM.
Similar Threads
-
How can I sort an array of strings that contain numbers, letters and dashes?
By DylanDubya in forum New To JavaReplies: 2Last Post: 12-04-2011, 08:21 AM -
Validating a string, containing either numbers or letters
By MaceMan in forum New To JavaReplies: 2Last Post: 11-30-2011, 04:41 PM -
Stop user entering letters in GUI, numbers only
By africanhacker in forum New To JavaReplies: 3Last Post: 03-11-2011, 01:25 PM -
converting letters to numbers
By fenhoff in forum New To JavaReplies: 2Last Post: 01-24-2010, 04:45 AM -
validating a string for numbers and letters?
By lockmac in forum New To JavaReplies: 1Last Post: 08-09-2007, 09:17 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks