bump base: update tesseract, leptonica and libk2pdfopt

- update leptonica to 1.84.1
- update tesseract to 5.3.4
- update libk2pdfopt to 2.55
This commit is contained in:
Benoit Pierre
2024-06-01 00:25:59 +02:00
committed by Frans de Jonge
parent 10e6f489d0
commit 4c6919ac2a
4 changed files with 5 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ local KoptInterface = {
-- If `$TESSDATA_PREFIX` is set, don't override it: let libk2pdfopt honor it
-- (which includes checking for data in both `$TESSDATA_PREFIX/tessdata` and
-- in `$TESSDATA_PREFIX/` on more recent versions).
tessocr_data = not os.getenv('TESSDATA_PREFIX') and DataStorage:getDataDir().."/data" or nil,
tessocr_data = not os.getenv('TESSDATA_PREFIX') and DataStorage:getDataDir().."/data/tessdata" or nil,
ocr_lang = "eng",
ocr_type = 3, -- default 0, for more accuracy use 3
last_context_size = nil,