# IDSDK - iOS

{% hint style="success" %}

* Our SDK is fully on-premise, processing all happens on hosting server and no data leaves your server.
* 14,000+ document templates covering IDs issued in 250+ countries and territories.
* Support of 140+ languages and special characters via sophisticated neural networks.
  {% endhint %}

## Introduction

Welcome to the **MiniAiLive** ID Document Recognition SDK! This SDK provides powerful tools for recognizing and extracting information from ID documents. The SDK is available for both Windows and Linux platforms and includes an API for integration.

Reduce drop-off and boost conversions with ID scanning and verification solutions. Quickly and securely capture, extract, and verify data from diverse **ID cards**, **passports**, **driver’s licenses**, and other documents with our proven, AI-first approach. Designed to fit seamlessly together, our technology can be integrated as a fully-bundled identity document verification solution or as separate modules via developer-friendly mobile or server SDK. Try it out today!

### Key Features <a href="#features" id="features"></a>

* **Document Capture**
* **Visual Analysis and OCR**
* **Automated Document Type Detection**
* **Accurate Visual Zone Verification**
* **Barcode Recognition**
* **Fully offline, On-Premise SDK**

## How to build

### Prerequisites

* Xcode 9.3 or later
* macOS 10.13 or later
* iPhone 5S or later (iOS 11.0 or later)

### Download SDK

We provide iOS demo project with our ID Document Recognition iOS SDK. Please contact us to get demo project.

{% hint style="info" %}
Note: Current demo bundle ID is "com.miniai.idcardrecogntion". If you want to use your own bundle ID with our SDK, then you need to provide your bundle ID to us, then we will provide you trial license for your bundle ID.
{% endhint %}

### Initializing SDK <a href="#initializing-sdk" id="initializing-sdk"></a>

To begin, you need to activate the SDK using the license that you have received.

```
val ret = FaceSDK.getInstance().init(assets)
        if(ret != FaceSDK.SDK_SUCCESS) {
            Log.i("SYSTEM Log : ", ret.toString())
        }
```

If activation is successful, the return value will be `SDK_SUCCESS`. Otherwise, an error value will be returned. If all good, you can build and run app successfully.

## Youtube - Demo Video

{% embed url="<https://www.youtube.com/watch?v=vpabYKu3go4>" %}

## Face & IDSDK Online Demo, Resources

| [![](https://camo.githubusercontent.com/806c4c9371684f21d03953dcc53853b790fa8440239f30681a21ce2cf2adcf92/68747470733a2f2f6d696e6961692e6c6976652f77702d636f6e74656e742f75706c6f6164732f323032342f31302f6e65775f6769742d312d3330307836372e706e67)](https://github.com/MiniAiLive) | [![](https://camo.githubusercontent.com/28530427ea25f63b9ae20a1dce8d4a92ce76f67af276e92d5cf7ac370f335e08/68747470733a2f2f6d696e6961692e6c6976652f77702d636f6e74656e742f75706c6f6164732f323032342f31302f6e65775f68756767696e672d312d3330307836372e706e67)](https://huggingface.co/MiniAiLive) | [![](https://camo.githubusercontent.com/514dcba45bbc416e9ff4d28794755408d015fcafca876e5ef3dc0321e80fa4c6/68747470733a2f2f6d696e6961692e6c6976652f77702d636f6e74656e742f75706c6f6164732f323032342f31302f6e65775f67726164696f2d3330307836372e706e67)](https://demo.miniai.live/)                                     |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [![](https://camo.githubusercontent.com/09f3ad9287d86c1c5839adbe83dd7cec21eb4778d845a7e36ad7e58fa64c5fd6/68747470733a2f2f6d696e6961692e6c6976652f77702d636f6e74656e742f75706c6f6164732f323032342f31302f612d3330307837302e706e67)](https://docs.miniai.live/)                     | [![](https://camo.githubusercontent.com/3137c2356707552aa1332fea60196413ab2f89ced339c8fe4367e8167d04b16f/68747470733a2f2f6d696e6961692e6c6976652f77702d636f6e74656e742f75706c6f6164732f323032342f31302f556e7469746c65642d312d3330307837302e706e67)](https://www.youtube.com/@miniailive)     | [![](https://camo.githubusercontent.com/c642d8abd48cbc0861511ae78bc53ad1c544f7bf59432790bba60a84df44e98a/68747470733a2f2f6d696e6961692e6c6976652f77702d636f6e74656e742f75706c6f6164732f323032342f31302f676f6f676c65706c61792d3330307836322e706e67)](https://play.google.com/store/apps/dev?id=5831076207730531667) |

## Our Products

<table><thead><tr><th width="74">No</th><th>Project</th><th>Feature</th></tr></thead><tbody><tr><td>1</td><td><a href="https://github.com/MiniAiLive/FaceRecognition-Linux">FaceRecognition-Linux</a></td><td>1:1 &#x26; 1:N Face Matching</td></tr><tr><td>2</td><td><a href="https://github.com/MiniAiLive/FaceRecognition-Windows">FaceRecognition-Windows</a></td><td>1:1 &#x26; 1:N Face Matching</td></tr><tr><td>3</td><td><a href="https://github.com/MiniAiLive/FaceRecognition-Docker">FaceRecognition-Docker</a></td><td>1:1 &#x26; 1:N Face Matching</td></tr><tr><td>4</td><td><a href="https://github.com/MiniAiLive/FaceRecognition-Android">FaceRecognition-Android</a></td><td>1:1 &#x26; 1:N Face Matching, 2D &#x26; 3D Face Passive LivenessDetection</td></tr><tr><td>5</td><td><a href="https://github.com/MiniAiLive/FaceRecognition-LivenessDetection-Windows">FaceRecognition-LivenessDetection-Windows</a></td><td>1:1 &#x26; 1:N Face Matching, 2D &#x26; 3D Face Passive LivenessDetection</td></tr><tr><td>6</td><td><a href="https://github.com/MiniAiLive/FaceLivenessDetection-Linux">FaceLivenessDetection-Linux</a></td><td>2D &#x26; 3D Face Passive LivenessDetection</td></tr><tr><td>7</td><td><a href="https://github.com/MiniAiLive/FaceLivenessDetection-Windows">FaceLivenessDetection-Windows</a></td><td>2D &#x26; 3D Face Passive LivenessDetection</td></tr><tr><td>8</td><td><a href="https://github.com/MiniAiLive/FaceLivenessDetection-Docker">FaceLivenessDetection-Docker</a></td><td>2D &#x26; 3D Face Passive LivenessDetection</td></tr><tr><td>9</td><td><a href="https://github.com/MiniAiLive/FaceLivenessDetection-Android">FaceLivenessDetection-Android</a></td><td>2D &#x26; 3D Face Passive LivenessDetection</td></tr><tr><td>10</td><td><a href="https://github.com/MiniAiLive/FaceMatching-Android">FaceMatching-Android</a></td><td>1:1 Face Matching</td></tr><tr><td>11</td><td><a href="https://github.com/MiniAiLive/FaceMatching-Windows">FaceMatching-Windows-Demo</a></td><td>1:1 Face Matching</td></tr><tr><td>12</td><td><a href="https://github.com/MiniAiLive/FaceAttributes-Android">FaceAttributes-Android</a></td><td>Face Attributes, Age &#x26; Gender Estimation</td></tr><tr><td>13</td><td><a href="https://github.com/MiniAiLive/ID-DocumentRecognition-Linux">ID-DocumentRecognition-Linux</a></td><td>IDCard, Passport, Driver License, Credit, MRZ Recognition</td></tr><tr><td>14</td><td><a href="https://github.com/MiniAiLive/ID-DocumentRecognition-Windows">ID-DocumentRecognition-Windows</a></td><td>IDCard, Passport, Driver License, Credit, MRZ Recognition</td></tr><tr><td>15</td><td><a href="https://github.com/MiniAiLive/ID-DocumentRecognition-Docker">ID-DocumentRecognition-Docker</a></td><td>IDCard, Passport, Driver License, Credit, MRZ Recognition</td></tr><tr><td>16</td><td><a href="https://github.com/MiniAiLive/ID-DocumentRecognition-Android">ID-DocumentRecognition-Android</a></td><td>IDCard, Passport, Driver License, Credit, MRZ Recognition</td></tr><tr><td>17</td><td><a href="https://github.com/MiniAiLive/ID-DocumentLivenessDetection-Linux">ID-DocumentLivenessDetection-Linux</a></td><td>ID Document LivenessDetection</td></tr><tr><td>18</td><td><a href="https://github.com/MiniAiLive/ID-DocumentLivenessDetection-Windows">ID-DocumentLivenessDetection-Windows</a></td><td>ID Document LivenessDetection</td></tr><tr><td>19</td><td><a href="https://github.com/MiniAiLive/ID-DocumentLivenessDetection-Docker">ID-DocumentLivenessDetection-Docker</a></td><td>ID Document LivenessDetection</td></tr></tbody></table>

## Request license

Feel free to [Contact US](https://www.miniai.live/contact/) to get a trial License. We are 24/7 online on WhatsApp: [+19162702374](https://wa.me/+19162702374).
