4.7K
Add OCR to PDF with no OCR
Add the microservice to your docker compose
ocrpdf-dev: &ocrpdf
<<: [*dev, *common]
image: lehighlts/scyllaridae-ocrpdf:main
networks:
default:
aliases:
- ocrpdf
ocrpdf-prod:
<<: [*prod, *ocrpdf]
See service/deployment manifest in scyllaridae repo
You'll also need to add ocrpdf to derivative.systems.installed in your alpaca.properties by adding that string to the ALPACA_DERIVATIVE_SYSTEMS environment variable in your alpaca service.
ALPACA_DERIVATIVE_SYSTEMS=ocrpdf
You'll also need to define the service in alpaca.properties.tmpl
derivative.ocrpdf.enabled=true
derivative.ocrpdf.in.stream=queue:islandora-connector-ocrpdf
# this url may be different if deploying via kubernetes
derivative.ocrpdf.service.url=http://ocrpdf:8080
derivative.ocrpdf.concurrent-consumers=1
derivative.ocrpdf.max-concurrent-consumers=-1
derivative.ocrpdf.async-consumer=true
Content type
Image
Digest
sha256:399e74b07…
Size
219.3 MB
Last updated
about 1 year ago
docker pull lehighlts/scyllaridae-ocrpdf:mainPulls:
6
Last week