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:
parent
b9e1737603
commit
5fc8ce0041
|
@ -5133,7 +5133,9 @@ in {
|
||||||
else
|
else
|
||||||
throw "pyobjc can only be built on Mac OS";
|
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 { };
|
pyodbc = callPackage ../development/python-modules/pyodbc { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue