Sample Application
Linux-ID Document Recognition SDK Flask, Gradio Demo
Last updated
Linux-ID Document Recognition SDK Flask, Gradio Demo
Last updated
Download ID_SDK.zip[453.9M]
The Demo directory contains the following directories and files:
Follow the install.txt
guide to install dependencies:
Online Licensing: Set the online license key as an environment variable:
Offline Licensing: Copy the license.txt
license file to the demo directory.
Run the demo script with the desired option:
To test the Flask Server API, you can use Postman. Here are the endpoints for testing:
Extract data from ID card.
Parameters
image: image file for the front of ID card
image2: image file for the back of ID card
Response
data: OCR result
Extract data from ID card base64 images.
Parameters
image1: base64 image for the front image
image2: base64 image for the back image
Response
data: OCR result
Go to http://127.0.0.1:7860/ on a web browser.
dependency\
Dependency files
engine\
SDK engine files
examples\
Sample images
flask\
Flask server side demo code
gradio\
Gradio demo code
install.txt
Install guide
license.txt
License key file
requirements.txt
Python requirements file