Skip to content

MiniAiLive Intelligent ID OCR for Reliable Identity Verification From document verification to data entry, our MiniAiLive OCR solution can help transform your identity verification process.

Notifications You must be signed in to change notification settings

lmmrahim/ID-DocumentRecognition-Linux-SDK

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

MiniAiLive ID Document Recognition Linux SDK

MiniAiLive Logo

Welcome to the MiniAiLive!

Welcome to the 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.

Introducing our ID Document Recognition Linux SDK. 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!

Note

  • Our SDK is fully on-premise, processing all happens on hosting server and no data leaves server.
  • 10,000+ document templates covering IDs issued in 200+ countries and territories.
  • Support of 100+ languages and special characters via sophisticated neural networks.

Table of Contents

Installation Guide

Prerequisites

  • Python 3.6+
  • Windows
  • CPU: 2cores 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.

    $ cd Download
    $ sudo dpkg -i --force-overwrite MiniAiLive-IDSDK-LinuxServer.deb
MiniAiLive Installer
You can refer our Documentation here. https://docs.miniai.live
  1. Request License and Update:

    You can generate the License Request file by using this command:

    $ cd /opt/miniai/dr-webapi
    $ sudo ./MiRequest request /home/ubuntu/Download/trial_key.miq
MiniAiLive Installer
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.
$ sudo ./MiRequest update /home/ubuntu/Download/trial_30.mis
MiniAiLive Installer
  1. Verify Installation:

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

    $ systemctl list-units --state running

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

MiniAiLive Installer

API Details

Endpoint

  • POST http://127.0.0.1:8082/api/id_check ID Document Recognition API

  • POST http://127.0.0.1:8082/api/bank_credit_check Bank & Credit Card Reader API

  • POST http://127.0.0.1:8082/api/mrz_barcode_check MRZ & Barcode Recognition API

Request

  • URL: http://127.0.0.1:8082/api/id_check
  • Method: POST
  • Form Data:
    • image: The image file (PNG, JPG, etc.) to be analyzed. This should be provided as a file upload.

Response

The API returns a JSON object with the recognized details from the ID document. Here is an example response:

Gradio Demo

We have included a Gradio demo to showcase the capabilities of our 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:

    git clone https://github.com/MiniAiLive/ID-DocumentRecognition-Linux-SDK.git
    cd gradio
    pip install -r requirement.txt
  2. Run Gradio Demo:

    python app.py

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 other language you want to use like C++, C#, Ruby, Java, Javascript and more

Prerequisites

  • Python 3.6+
  • requests library (you can install it using pip install requests)

Example Script

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

import requests

# URL of the web API endpoint
url = 'http://127.0.0.1:8082/api/id_check'

# Path to the image file you want to send
image_path = './test_image.jpg'

# Read the image file and send it as form data
files = {'image': open(image_path, 'rb')}

try:
    # Send POST request
    response = requests.post(url, files=files)

    # Check if the request was successful
    if response.status_code == 200:
        print('Request was successful!')
        # Parse the JSON response
        response_data = response.json()
        print('Response Data:', response_data)
    else:
        print('Request failed with status code:', response.status_code)
        print('Response content:', response.text)

except requests.exceptions.RequestException as e:
    print('An error occurred:', e)

Request license

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

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

1. Fork the repository.
2. Create a new branch for your feature or bug fix.
3. Make your changes and commit them with descriptive messages.
4. Push your changes to your forked repository.
5. Submit a pull request to the original repository.

Try Online Demo

Please visit our ID API Web Demo here. https://demo.miniai.live

Related Product

No Project Feature
1 FaceRecognition-LivenessDetection-Android-SDK Face Matching, 3D Face Passive Liveness
2 FaceRecognition-LivenessDetection-iOS-SDK Face Matching, 3D Face Passive Liveness
3 FaceRecognition-LivenessDetection-Linux-SDK Face Matching, 3D Face Passive Liveness
4 FaceRecognition-LivenessDetection-Windows-SDK Face Matching, 3D Face Passive Liveness
5 FaceLivenessDetection-Android-SDK 3D Face Passive Liveness
6 FaceLivenessDetection-iOS-SDK 3D Face Passive Liveness
7 FaceLivenessDetection-Linux-SDK 3D Face Passive Liveness
8 FaceMatching-Android-SDK 1:1 Face Matching
9 FaceMatching-iOS-SDK 1:1 Face Matching
10 FaceRecognition-Windows-Demo 1:1 Face Matching
11 FaceAttributes-Android-SDK Face Attributes
12 ID-DocumentRecognition-Android-SDK ID Document, Credit, MRZ Recognition
13 ID-DocumentRecognition-iOS-SDK ID Document, Credit, MRZ Recognition
14 ID-DocumentRecognition-Linux-SDK ID Document, Credit, MRZ Recognition
15 ID-DocumentRecognition-Windows-SDK ID Document, Credit, MRZ Recognition

About MiniAiLive

MiniAiLive is a leading AI solutions company specializing in computer vision and machine learning technologies. We provide cutting-edge solutions for various industries, leveraging the power of AI to drive innovation and efficiency.

Contact US

For any inquiries or questions, please Contact US

www.miniai.livewww.miniai.livewww.miniai.live

About

MiniAiLive Intelligent ID OCR for Reliable Identity Verification From document verification to data entry, our MiniAiLive OCR solution can help transform your identity verification process.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%