OCR Service


Follow
2
Star
3
Details
Releases
Issues

What's new in this version

Build text index to NLP with no human action now (thanks DeBoe tip)

InterSystems IRIS Interoperability OCR Service

This is an InterSystems IRIS Interoperability OCR Service to extract text from images and pdfs from a file into a multipart request from form or http request.

What The the service does

This application receive a http multipart request with a file, extract text using OCR from Tesseract and returns the result

Prerequisites

Make sure you have git and Docker desktop installed.

Installation: Docker

Clone/git pull the repo into any local directory

$ git clone https://github.com/yurimarx/ocr-service.git

Open the terminal in this directory and run:

$ docker-compose build
  1. Run the IRIS container with your project:
$ docker-compose up -d

OCR and NLP working together:

OCR and NLP in Action

How to Run the Ocr Production

  1. Open the production

  2. Set host destination folder to the uploaded files. See:

folder
  1. Start the production.

  2. Now Open Postman or create a multipart request into a form pointing to localhost:9980/ using POST with a form-data file attribute. See sample (use an image or pdf with image inside): postman

  3. See the text returned - support to english and portuguese languages only, in the first version

  4. Send 2 or 3 files with some text

  5. Go to the NLP Domain Explorer

  6. Analyze the texts and enjoy!

Category
Interoperability
Works with
InterSystems IRIS
Tags
Info
Publisher
Visum Consult
Version
1.0.3
Last updated
2020-11-20
Repository
Open
Documentation
Open
License
Link