Skip to content

Commit 1a0a5a3

Browse files
authored
Update pdf_ocr.py
1 parent 3a08eed commit 1a0a5a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handling-pdf-files/pdf-ocr/pdf_ocr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import filetype
1414

1515
# Path Of The Tesseract OCR engine
16-
TESSERACT_PATH = r"C:\\Program Files\\Tesseract-OCR\\tesseract.exe"
16+
TESSERACT_PATH = r"/usr/bin/tesseract"
1717
# Include tesseract executable
1818
pytesseract.pytesseract.tesseract_cmd = TESSERACT_PATH
1919

0 commit comments

Comments
 (0)