mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
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:
committed by
Frans de Jonge
parent
10e6f489d0
commit
4c6919ac2a
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user