I work for a company using a program that has certain areas that have text that I can't copy and paste. I would like to be able to convert this information into text. I know that there are OCR programs out on the market, but they are mostly used for scanners. I want to be able to cut a certain portion of the screen and have it go into a certain clipboard where the information is converted to text and then capable of pasting into other programs as text. How would I create a program like this. I have an idea of taking a bmp of text and have it stored into an array such as below and have it tell me if an array is on or off, but I don't know how to make the program do this. I am new to C programming an would very happy for information on this matter. Please take a look at my idea and let me know how this can be accomplished:
0 0 0 1 0 0 0 Example of an (A) 1 for pixels in Black
0 0 1 0 1 0 0 and 0 for any pixels in white. I would also
0 0 1 0 1 0 0 like to have it converted from a colored
0 1 1 1 1 1 0 background to black and white as soon as it
0 1 0 0 0 1 0 is copied to the clipboard.
1 0 0 0 0 0 1
1 0 0 0 0 0 1
Please help me with this program. I would be very happy.
P.S. I want to be able to do this without having to save the clip as a file before it is converted.
0 0 0 1 0 0 0 Example of an (A) 1 for pixels in Black
0 0 1 0 1 0 0 and 0 for any pixels in white. I would also
0 0 1 0 1 0 0 like to have it converted from a colored
0 1 1 1 1 1 0 background to black and white as soon as it
0 1 0 0 0 1 0 is copied to the clipboard.
1 0 0 0 0 0 1
1 0 0 0 0 0 1
Please help me with this program. I would be very happy.
P.S. I want to be able to do this without having to save the clip as a file before it is converted.