Installation Guide
The following installation guide is for Debian-based and Ubuntu-based Linux system with GPU enabled.
Step 1: Install Software Prerequisite via terminal
Step 2: Turn-off Swap Memory
We will enter the super user mode, command to turn off the swap memory, and exit the super user mode. Finally we launch htop
command to confirm that that the swap memory is already turned off.
Control-c
to go back to terminal
Step 3: Docker-CE Installation
If you already have docker engine installed, you can skip this step.
You can run the following command to check if the docker is successfully installed.
Step 4: Docker-Compose Installation
If you already have docker compose installed, you can skip this step.
Step 5: Nvidia GPU Driver Installation
To install Nvidia GPU driver use the command below.
Step 6: Nvidia-Docker Installation
You can install nvidia-docker
with the following command.
Step 7: Enable Nvidia-Docker
Edit the daemon.json
file to support nvidia-docker
.
Add the following text below. If there are existing text replace it with the provided text below.
Press CTRL+x
to exit editor, and then y
to save the file.
Then run the following line.
In the printed out table there must be the name of the graphic card installed in the server
Step 8: Deploy Thai National ID Card OCR Docker image
You can purchase our on-premise license by contacting us at info@iapp.co.th or call +6686-322-5858. Once you purchase our On-Premise license, You will received the Thai National ID Card Docker image from us in the zip file. It contains two files.
Enter the extracted directory. You can easily install it by typing the following command
Open website to start using the service at http://localhost:8000
Last updated