问题
I have a requirement in my iPhone app which is something similar to Handwriting Recognition.
I want to give user a space on my view where he can write any character by touch and dragging his finger on the screen and based on what matches with his input the textbox should show the English alphabet.
Above is an example of what I want:
How should I implement this feature? I am a beginner in this.
回答1:
There is no handwriting Frameworks or Libraries currently available. If you are brainy enough use some gesture techniques of iOS and handwriting algorithms to create it
回答2:
You better start to learn about image processing for this feature. It is not difficult but the OCR , should be your similar coding. However, because of its transient then the hand writing recognition is much difficult.. But anyway, it is doable.
回答3:
I've seen some code around to subclass UIGestureRecognizer to define a "check" gesture. It recognizes touch beginning, moving southeast, then moving northeast to draw a checkmark. Perhaps you could define letter shapes as specific gesture recognizers and then attached your whole alphabet of recognizers to a view and see what you get.
来源:https://stackoverflow.com/questions/4418074/how-to-implement-handwriting-recognition-feature-in-an-iphone-app