Update HowToUseOCR.md

This commit is contained in:
Anthony Stirling 2024-02-17 19:28:32 +00:00 committed by GitHub
parent a0acafcefc
commit 56e3ec1219
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,7 +3,7 @@
This document provides instructions on how to add additional language packs for the OCR tab in Stirling-PDF, both inside and outside of Docker.
## My OCR used to work and now doesn't!
Please update your tesseract docker volume path version from 4.00 to 5
The paths have changed for the tessadata locations on new docker images, please use ``/usr/share/tessdata`` (Others should still work for backwards compatability but might not)
## How does the OCR Work
Stirling-PDF uses [OCRmyPDF](https://github.com/ocrmypdf/OCRmyPDF) which in turn uses tesseract for its text recognition.