From 3f9f12e7416f17cea2ed94c9399073c6b5e7def3 Mon Sep 17 00:00:00 2001 From: Sivakumar Mahalingam Date: Sun, 7 Apr 2024 12:00:31 +0400 Subject: [PATCH] updated main --- scripts/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/main.py b/scripts/main.py index 8777dd2..1ee77ca 100644 --- a/scripts/main.py +++ b/scripts/main.py @@ -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) +