1

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:

alt text

How should I implement this feature? I am a beginner in this.

halfer
  • 19,824
  • 17
  • 99
  • 186
Parth Bhatt
  • 19,381
  • 28
  • 133
  • 216
  • 2
    If you came up with a good answer for this, you'd probably get some honorary Ph.Ds from several major universities. – Dave DeLong Dec 11 '10 at 18:10
  • @Dave DeLong : why so? Is it something not available yet? – Parth Bhatt Dec 11 '10 at 18:17
  • because it's an extremely difficult problem. Everyone has different styles of handwriting, different ways/orders of drawing different characters; some characters (like `f`) require multiple strokes (maybe, if that's how you learned it); If this were an easy problem, it would've been solved long ago. – Dave DeLong Dec 11 '10 at 18:23
  • ok thanks for your input Dave DeLong :) I am glad that you gave me the information and answered politely to my silly question :) Thanks!! – Parth Bhatt Dec 11 '10 at 18:27
  • For a better explanation, see http://en.wikipedia.org/wiki/Handwriting_recognition – Dave DeLong Dec 11 '10 at 18:28
  • @ParthBhatt: Found any solution Bro ?? – Manu Mar 25 '13 at 14:30

3 Answers3

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.

attawit
  • 21
  • 2
  • Being a newbie at handwriting recognition is not really a question either. You are talking about the combined sum effort of decades of research. This is not an appropriate question for SO. – deleted_user Sep 26 '12 at 08:24
0

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.

Dan Ray
  • 21,623
  • 6
  • 63
  • 87
-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

ipraba
  • 16,485
  • 4
  • 59
  • 58
  • Hey I like when you said " If you are brainy enough". Thanks that you gave me the information that there is no frameworks currently available in iPhone SDK that can help me achieve what I intend to. Thanks for your answer :) – Parth Bhatt Jan 01 '11 at 13:27