npulidom / node-ocr

NodeJs + OcrMyPdf + pdftotext Docker Image. Developed for custom OCR node APIs or workers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-ocr

NodeJs + OcrMyPdf + pdftotext Docker Image, based on Ubuntu image. Developed for custom OCR node APIs or workers.

Usage

Run Container [port 8080]

docker run -p 8080:80 -d npulidom/node-ocr

Test OCR

curl -i http://localhost:8080/test

Dockerfile for building

# latest tag
FROM npulidom/node-ocr

# node dependcies
COPY package.json .
RUN npm install --production

# copy app
COPY . .

# pm2 starts init.js automatically

About

NodeJs + OcrMyPdf + pdftotext Docker Image. Developed for custom OCR node APIs or workers.

License:The Unlicense


Languages

Language:JavaScript 79.6%Language:Dockerfile 17.1%Language:Shell 3.3%