summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytesseract/tesseract-binary.patch
blob: f7eb9fb1d42aae05b74cf8360e97aba888fb55ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/pytesseract.py b/src/pytesseract.py
index 32713cf..5f9209d 100755
--- a/src/pytesseract.py
+++ b/src/pytesseract.py
@@ -25,7 +25,7 @@ if numpy_installed:
     from numpy import ndarray
 
 # CHANGE THIS IF TESSERACT IS NOT IN YOUR PATH, OR IS NAMED DIFFERENTLY
-tesseract_cmd = 'tesseract'
+tesseract_cmd = '@drv@/bin/tesseract'
 RGB_MODE = 'RGB'
 OSD_KEYS = {
     'Page number': ('page_num', int),