Docker image for the PrizmDoc OCR Reader Worker.
1.9K
OCR Reader Worker is a service which incorporates Accusoft OCR in order to provide a RESTful API for reading text from images with OCR.
Running this image will start an OCR Reader Worker process with all required services so that you can begin using it for local development of your application. Besides OCR Reader Worker image you will need to run MySQL Server, Process Manager and PrizmDoc Server containers as described below. The PrizmDoc Server version must be 13.25 or later.
This Docker container allows easy evaluation of OCR Reader Worker on a single machine. If you want to purchase a license, contact [email protected].
If you are using an OEM License or an Offline Metered License, you will need to Configure the Process Manager with the solution name, solution key, and license key of your ImageGear license and SmartZone license.
NOTE: This Docker image is suitable for a production deployment. But since this is a new product we may make some changes to the API in the future.
To run OCR Reader Worker as a Docker container, you simply need a Docker host (a machine with Docker installed). See the Docker documentation for more information.
Create a Docker network so the containers can communicate.
docker network create prizmdoc
Run MySQL Server.
docker run --name=mysql --detach --rm --network prizmdoc --publish 3306:3306 --env MYSQL_LOG_CONSOLE="TRUE" --env MYSQL_DATABASE=ProcessManager --env MYSQL_ROOT_PASSWORD=root mysql:5.7 --max_allowed_packet=100M --general_log=1 --general_log_file=/var/lib/mysql/mysql.log --innodb_use_native_aio=0
Run PrizmDoc Server (PrizmDoc Server version must be 13.25 or later).
docker run --rm --env ACCEPT_EULA=YES --network prizmdoc --publish 18681:18681 --name prizmdoc-server accusoft/prizmdoc-server
Wait until you see the following output in the console:
[info] Starting Product Runner...
[info] product-runner has been started correctly.
[info] Starting PCCIS Watchdog process...
[info] PCCIS Watchdog has been started correctly.
Run Process Manager.
If you are using a Metered or Evaluation license:
docker run --name=process-manager --detach --rm --network prizmdoc --publish 3000:3000 --publish 3001:3001 --env LOG_LEVEL=info --env "DATABASE_CONNECTION_STRING=mysql://root:root@mysql:3306/ProcessManager" --env "PRIZMDOC_SERVER_URL=http://prizmdoc-server:18681" --env ACCEPT_EULA=YES accusoft/process-manager
If you are using an Offline Metered or OEM license.
docker run --name=process-manager --detach --rm --network prizmdoc --publish 3000:3000 --publish 3001:3001 --env LOG_LEVEL=info --env "DATABASE_CONNECTION_STRING=mysql://root:root@mysql:3306/ProcessManager" --env "PRIZMDOC_SERVER_URL=http://prizmdoc-server:18681" --env ACCEPT_EULA=YES --env "SOLUTION_NAME_IG=<Your_ImageGear_Solution_Name>" --env "SOLUTION_KEY_IG=<Your_ImageGear_Solution_Key>" --env "LICENSE_KEY_IG=<Your_ImageGear_License_Key>" --env "SOLUTION_NAME_SZ=<Your_SmartZone_Solution_Name>" --env "SOLUTION_KEY_SZ=<Your_SmartZone_Solution_Key>" --env "LICENSE_KEY_SZ=<Your_SmartZone_License_Key>" accusoft/process-manager
Run OCR Reader Worker.
docker run --rm --env ACCEPT_EULA=YES --network prizmdoc --publish 4000:4000 --name ocr-worker --env "PROCESS_MANAGER_INTERNAL_URL=http://process-manager:3001" --env "WORKFILE_SERVICE_URL=http://prizmdoc-server:18681/PCCIS/V1/WorkFile" accusoft/ocr-reader-worker
OCR Reader Worker is ready to accept processes from Process Manager.
To stop the running Docker containers, just use the following commands in the terminal:
docker stop ocr-worker
docker stop process-manager
docker stop prizmdoc-server
docker stop mysql
Please refer to the Getting Started for the details on how to evaluate this feature. Can't find what you need? Contact us.
Content type
Image
Digest
sha256:1ed53c41c…
Size
348.5 MB
Last updated
7 months ago
docker pull accusoft/ocr-reader-worker