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 4c56100 commit 3f9f12e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from fastmrz import FastMRZ
import os

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

0 comments on commit 3f9f12e

Please sign in to comment.