Prerequisites
These are the frameworks you must have before starting to use OCRLabs SDKs:
- Xcode Project or an equivalent IDE for IOS development.
- Minimum IOS SDK version: 8.
- The latest SDK files (version 3.6.1503.2022) and Code Sample App from your Account Manager.
Each framework is for a specific use case:
- Orbit4MedicareSample is used for Australian medicare cards.
- Orbit4ScanIDSample is used for all other identification, such as driver's licenses.
- OrbitMRZSample is used for passports.
SDK and Sample Code Installation
First, download the SDK folder sample from your Account Manager. After downloading the SDKs and the sample codes, follow these steps below:
Step 1: Move the SDK File Framework Project
Copy your SDK framework file folders into your project folder.
Step 2: Add the Frameworks to the Project
Add the three frameworks to your project by clicking:
General > frameworks, Libraries, and Embedded Content section > +clickable button > add files > select the three frameworks.
Step 3: Import the Framework
Insert the following code to import your Framework to the Project folder > ViewController.
import Orbit4ScanID
import OrbitMrz
import Orbit4Medicare
Note:
4ScanID is the Binding.
Step 4: Give Permission for the Framework to Start the Camera
Give permission to your framework for your project by Clicking the Project > Info > Privacy Camera Usage > on the Value section type in "app uses camera to scan your Id document."
💬 We're here to help!
If you encounter an issue, a bug, or require assistance, please contact our support page here to find the solution. Don't forget to provide any important information on the issue.