depot/third_party/nixpkgs/pkgs/development/python-modules/pytesseract/tesseract-binary.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

13 lines
336 B
Diff

diff --git a/src/pytesseract.py b/src/pytesseract.py
index 132f59b..f161e5c 100755
--- a/src/pytesseract.py
+++ b/src/pytesseract.py
@@ -23,7 +23,7 @@ except ImportError:
import Image
-tesseract_cmd = 'tesseract'
+tesseract_cmd = '@drv@/bin/tesseract'
numpy_installed = find_loader('numpy') is not None
if numpy_installed: