Skip to content

Commit

Permalink
updated main
Browse files Browse the repository at this point in the history
  • Loading branch information
sivakumar-mahalingam committed Apr 7, 2024
1 parent 18142ef commit 4c56100
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions scripts/main.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
from fastmrz import FastMRZ
import os

# fast_mrz = FastMRZ(tesseract_path=r'/opt/homebrew/Cellar/tesseract/5.3.4_1/bin/tesseract')
# fast_mrz = FastMRZ(tesseract_path=r'C:\\Program Files\\Tesseract-OCR\\tesseract.exe')

fast_mrz = FastMRZ()
fast_mrz = FastMRZ(tesseract_path=r'C:\\Program Files\\Tesseract-OCR\\tesseract.exe')
passport_mrz = fast_mrz.read_mrz(os.path.abspath('../data/passport_uk.jpg'))
print(passport_mrz)

# Add README testing badge. Ref, https://github.com/mingrammer/diagrams/blob/master/README.md?plain=1

0 comments on commit 4c56100

Please sign in to comment.