IDSDK - Linux

ID Document Recognition Linux Server SDK

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!

Installation

Prerequisites

  • Python 3.6+

  • Linux

  • CPU: 2 cores or more

  • RAM: 4GB or more

Installation Steps

  1. Download the ID Document Recognition Linux Server Installer

    Download the Server installer for your operating system from the following link:

    Download the On-premise Server Installer

  2. Install the On-premise Server

    Run the installer and follow the on-screen instructions to complete the installation. Go to the Download folder and run this command.

  1. Request License and Update You can generate the License Request file by using this command:

Then you can see the license request file on your directory, and send it to us via email or WhatsApp. We will send the license based on your Unique Request file, then you can upload the license file to allow to use. Refer the below images.

  1. Verify Installation After installation, verify that the On-premise Server is correctly installed by using this command:

If you can see 'Mini-drsvc.service', 'Mini-idsvc.service', the server has been installed successfully. Refer the below image.

API Reference

  1. Endpoint

POST http://127.0.0.1:8082/api/check_id <ID Document Recognition API>

  • Form Data:

    • image: The image file (PNG, JPG, etc.) to be analyzed. This should be provided as a file upload

POST http://127.0.0.1:8082/api/check_id_base64 <ID Document Recognition API>

  • Raw Data:

    • JSON Format:

Other available endpoints here.

POST http://127.0.0.1:8082/api/check_credit <Bank & Credit Card Reader API>

POST http://127.0.0.1:8082/api/check_credit_base64 <Bank & Credit Card Reader API>

POST http://127.0.0.1:8082/api/check_mrz <MRZ & Barcode Recognition API>

POST http://127.0.0.1:8082/api/check_mrz_base64 <MRZ & Barcode Recognition API>

  1. Response

The API returns a JSON object with the liveness result of the input face image. Here is an example response

Testing API

Gradio Demo

We have included a Gradio demo to showcase the capabilities of our MiniAiLive ID Document Recognition SDK. Gradio is a Python library that allows you to quickly create user interfaces for machine learning models.

How to Run the Gradio Demo

  1. Install Gradio:

    First, you need to install Gradio. You can do this using pip:

  2. Run Gradio Demo:

Python Test API Example

To help you get started with using the API, here is a comprehensive example of how to interact with the ID Document Recognition API using Python. You can use API with another language you want to use like C++, C#, Ruby, Java, Javascript, and more

  1. Prerequisites

  • Python 3.6+

  • requests library (you can install it using pip install requests)

  1. Example Script

This example demonstrates how to send an image file to the API endpoint and process the response.

Face & IDSDK Online Demo, Resources

Our Products

No
Project
Feature

1

1:1 & 1:N Face Matching

2

1:1 & 1:N Face Matching

3

1:1 & 1:N Face Matching

4

1:1 & 1:N Face Matching, 2D & 3D Face Passive LivenessDetection

5

1:1 & 1:N Face Matching, 2D & 3D Face Passive LivenessDetection

6

2D & 3D Face Passive LivenessDetection

7

2D & 3D Face Passive LivenessDetection

8

2D & 3D Face Passive LivenessDetection

9

2D & 3D Face Passive LivenessDetection

10

1:1 Face Matching

11

1:1 Face Matching

12

Face Attributes, Age & Gender Estimation

13

IDCard, Passport, Driver License, Credit, MRZ Recognition

14

IDCard, Passport, Driver License, Credit, MRZ Recognition

15

IDCard, Passport, Driver License, Credit, MRZ Recognition

16

IDCard, Passport, Driver License, Credit, MRZ Recognition

17

ID Document LivenessDetection

18

ID Document LivenessDetection

19

ID Document LivenessDetection

Request license

Feel free to Contact US to get a trial License. We are 24/7 online on WhatsApp: +19162702374.

Last updated