paperwork: use tesseract 4 (#97395)

it gives empirically better results
https://www.willus.com/k2pdfopt/help/ocr/eng_chi_tess4.png
This commit is contained in:
symphorien 2020-09-08 13:19:29 +02:00 committed by GitHub
parent b9e1737603
commit 5fc8ce0041
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5133,7 +5133,9 @@ in {
else
throw "pyobjc can only be built on Mac OS";
pyocr = callPackage ../development/python-modules/pyocr { };
pyocr = callPackage ../development/python-modules/pyocr {
tesseract = pkgs.tesseract_4;
};
pyodbc = callPackage ../development/python-modules/pyodbc { };