Scanning text from an image file with the iOS OCR Module
There are two different OCR-based actions that can be executed on any image:
- Optical character recognition: use the class
SBSDKOCREngine - Creation of searchable PDF documents with selectable text (HOCR): use the class
SBSDKPDFGenerator
Performing optical character recognition
The optical character recognition takes a single image or a collection of images (SBSDKImageStoring) and recognizes the text on each image.
The result contain information about the found text, where the text was found (polygon), and what kind of text it is (word, line, paragraph).
Example code for performing OCR on an image
OCR Example
loading...
Want to scan longer than one minute?
Generate a free trial license to test the Scanbot SDK thoroughly.
Get free trial licenseScanbot SDK is part of the Apryse SDK product family
A mobile scan is just the start. With Apryse SDKs, you can expand mobile workflows into full cross‑platform document processing. Whether you need to edit PDFs, add secure digital signatures, or use a fast, customizable document viewer and editor, Apryse gives you the tools to build powerful features quickly.
Learn more
