[QUESTION]Get text from image?
Hi guys, I'm currently trying to figure out a way of retrieving text from an JPEG.
I have absolutely no clue as to how yet, but i have some ideas, and since Googleing specific questions is time consuming i thought i would ask some questions related to the subject here.
Basically what I'm thinking is to read every pixel in the jpeg and then make some kind of recognizing script that will be able to determine the character based on how the pixel array looks.
Since the text i need to get from the files are always in the same place i don't need to scan the entire jpeg. So my question is this:
How can i scan the pixels of a jpeg?
- And so, how should i store it for optimal functionality.
- Should I create a new smaller jpeg and run that trough a script, or should i - keep everything in a array
Is this even a remotely feasible approach to this?
- If not, I'm open to suggestions.
I also need a way of scanning a folder for files, but i can figure that part out later, but if you have some suggestions I'm not saying no :)
I'm sorry for not posting any code, but i don't have any yet, i don't plan on starting before i have all the basic principals down, so i don't end up wasting time and a partially functioning software.
Any help is greatly appreciated.
- Thomas Kristian.