7

I am looking for a simple (preferably open source) handwriting recognition library for the iPhone/iPad. In my case, I'm only interested in recognizing numbers.

Does anyone know of a good library for this?

Brad Larson
  • 170,088
  • 45
  • 397
  • 571
asdcfv
  • 105
  • 1
  • 3
  • You will get more attention and possibly more answers if you put a little more effort into your question. Writing the title in ALL CAPS isn't going to get more people to look at it. – Jasarien Aug 31 '10 at 09:58
  • for a closed source solution, see http://stackoverflow.com/questions/4196576/is-there-an-handwriting-recognition-library-for-ios/7242727#7242727 – Gregory Pakosz Oct 15 '11 at 16:28
  • 1
    @Jasarien Actually, it does :( – Undo Apr 11 '13 at 15:20

2 Answers2

3

You would have to make some efforts to compile but Tesseract is good solution.

For compiling it look http://iphone.olipion.com/cross-compilation/tesseract-ocr. For sample application see http://robertcarlsen.net/tag/tesseract

Madhup Singh Yadav
  • 8,110
  • 7
  • 51
  • 84
  • 2
    I don't think tesseract is good for handwriting recognition because it's too heavy for something like recognizing the numbers. – Bagusflyer Sep 06 '13 at 10:25
2

There are many libraries available for extracting text from images. You can check my answer

For restricting OCR to provide numbers only Tesseract SDK provides method as blacklist and whitelist characters

_tesseract->SetVariable("tessedit_char_whitelist", "0123456789");

Using this method you can restrict only numbers to be recognized.

Hope it helps.

Community
  • 1
  • 1
Nishant Tyagi
  • 9,893
  • 3
  • 40
  • 61