I am looking for a free .NET OCR library that can do OCR in a given application window or even an image in memory (I can take a picture of the application window myself).
I looked at tessnet2 and MODI but both require an image located on disk.
I need to use OCR because the application I'm trying to write a script for does some stupid things that cannot be read using the windows API, and I need to clear the data from the screen. I tested both tessnet2 and MODI and both of them can read text mainly, but because it must work in an environment that cannot write to disk, I need it to be able to read directly from the application window or some kind of memory stream .
I think OCR is my only version, but there may be other methods that I don't think about.
Suggestions?
Edit based on comments: Environment is a Windows C # .NET application without disk access. This is an application that has code compiled and executed on the fly, and this code works in a context that does not need any resources other than memory.
source
share