I'm working on a project for Windows Phone 7 and what I need is a library for recognizing shapes into text.
The current task is very simple. I have a canvas, and I use Touch.FrameReported
event to detect the points and just add them to a Polyline
inside the canvas. Next I need this Polyline (which I can convert to bitmap, shape, whatever) to be recognized as a letter, closest match.
I don't want service based library. Everything I've found so far are wrappers around COM functions. It appears there's not any good OCR library written entirely in managed code that could be used in a WP7 environment.
I would even go that far as to write my own library if I can get a hold of a simple algorithm for shape comparison based on lines.
There is an open source c# OCR library here:
http://neurondotnet.freehostia.com/samples/ocr.html
Not sure how WP7 compatible it is though. See these related questions:
https://stackoverflow.com/questions/744966/any-open-source-c-sharp-ocr-library
来源:https://stackoverflow.com/questions/8742339/gesture-to-text-recognition-ocr-or-gesture-based-native-net-library