-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
18142ef
commit 4c56100
Showing
1 changed file
with
1 addition
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |