From 8f58809e5cb4592ec74003c711c869aa83085191 Mon Sep 17 00:00:00 2001 From: Son Nguyen Date: Tue, 14 May 2024 08:02:44 +0700 Subject: [PATCH] Fix: Added self-trained model --- Character-Recognition/ocr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Character-Recognition/ocr.py b/Character-Recognition/ocr.py index 1f0f1d2..1046304 100644 --- a/Character-Recognition/ocr.py +++ b/Character-Recognition/ocr.py @@ -12,7 +12,7 @@ def perform_ocr_on_image(image): return ocr_result, annotated_image -def annotate_image(image, ocr_result): +def annotate_image(image): boxes = pytesseract.image_to_boxes(image) annotated_image = image.copy() h, w = image.shape[:2]