Reputation: 637
I want to write a app that can drawing on the screen(or view) then convert it to be a character. IE: drawing a circle then the label appear "O" drawing "N" shape and the label appear "N"/ "n"
Can anyone give me some advice??? thank you very much
Upvotes: 0
Views: 121
Reputation: 1299
You will have to keep noting the locations of touch when the user is drawing. That is note it from touch-down event to the touch-up event.
Then, you'll have to iterate through the points and understand the pattern.
The approach to understand the drawing patterns for letters/characters is known as OCR. OCR = Optical Character Recognition.
You'll have to either write your own OCR code or search for some readily available OCR from internet.
I hope you get the direction.. :)
Upvotes: 1