/node-ocr

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

Primary LanguageJavaScriptThe UnlicenseUnlicense

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