depot/third_party/nixpkgs/pkgs/development/python-modules/pytesseract/tesseract-binary.patch
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

13 lines
368 B
Diff

diff --git a/pytesseract/pytesseract.py b/pytesseract/pytesseract.py
index 132f59b..f161e5c 100755
--- a/pytesseract/pytesseract.py
+++ b/pytesseract/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: