Skip to content

robmathews/OCR-iOS-Example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCR-iOS-Example

A simple example of how to do optical character recognition (OCR) on iOS.

Upgraded

Upgraded for iOS7, tesseract 3.02, and leptonica-1.69

About

This was a little project I did one night to see how well OCR performed on the iPhone using Tesseract (an OCR library). Luckily for me, some people have already done the heavy lifting (compliled the libraries for iOS, made wrappers, etc). Here, I've simply brought that all together in project that should have you going with minimal setup.

Setup

  1. Clone this repo.
  2. Go to https://code.google.com/p/tesseract-ocr/downloads/list to download a language dataset.
  3. Place your decompressed tesseract data in a folder called tessdata like this:

image

That's it! The source code shouldn't be too difficult to follow. Feel free to do whatever you like with this.

Brought to you by

https://code.google.com/p/tesseract-ocr
https://github.com/ldiqual/tesseract-ios
http://tinsuke.wordpress.com/2011/11/01/how-to-compile-and-use-tesseract-3-01-on-ios-sdk-5

About

OCR using tesseract 3.02 for iOS7

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 51.3%
  • C 45.2%
  • Objective-C 3.5%