================
This is a sample app that shows the use of the Tesseract OCR engine on the iOS platform.
This app allows the user to take a picture of the text they want to recognize, and then automatically begins the processing of the recognition. The image taking code uses the UIImagePickerController
APIs on the iOS platform. When the UIImagePickerController
returns, the Tesseract
library begins processing the image. Once processing is finished, the results and the UIImage
are displayed side-by-side.
git clone https://github.com/breber/ios_ocr_demo.git
cd ios_ocr_demo
git submodule update --init
- Download the Tesseract Prebuilt Libraries
- Download the iOS Wrapper for Tesseract
- Download the English data for Tesseract
- Import all of the files from the previous steps into a normal XCode project
- Update the
C++ Standard Library
setting in the project Build Settings toCompiler Default
- Import
Tesseract.h
into the file you will be performing OCR in - Start using the Tesseract APIs