title: OpenCV detect numbers
body: <p>I'm using OpenCV on the iPhone and need to detect numbers in an image. I split the image into smaller images so each image has only one number (1-9). All numbers are printed, NOT handwritten.</p>
  
  <p>What would be the best approach to figure out the numbers with OpenCV?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>I have successfully found the numbers and extracted them. They look like this:</p>
  
  <p><a href="http://img198.imageshack.us/img198/5671/101ht.jpg" rel="noreferrer">http://img198.imageshack.us/img198/5671/101ht.jpg</a><br>
  <a href="http://img824.imageshack.us/img824/539/606yu.jpg" rel="noreferrer">http://img824.imageshack.us/img824/539/606yu.jpg</a></p>
  
  <p>When they are extracted they are in the same size and so on. I have saved a bunch of images and put them in a OCR dir where they are categorized into numbers. Like: ocr/1/100.jpg 101.jpg.... and ocr/2/200.jpg 201.jpg....</p>
  
  <p>Then I was going to use the same approach as in the Basic OCR tutorial:<a href="http://blog.damiles.com/?p=93" rel="noreferrer">http://blog.damiles.com/?p=93</a></p>
  
  <p>However, I'm programming for iPhone and can't use C++ code (error on compiling and so on) and I don't have access to highgui.</p>
  
  <p>I tried using cvMatchTemplate() and match a bunch of images but it seems to work pretty bad...</p>
  
  <p>Any other ideas I can try?</p>