From e41f1aeef4d83c3be7dc39d0f436549aa13d9b0d Mon Sep 17 00:00:00 2001 From: AuroraWright Date: Sun, 23 Nov 2025 12:46:15 +0100 Subject: [PATCH] Nitpick --- owocr/ocr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/owocr/ocr.py b/owocr/ocr.py index 396f7fc..5ef986a 100644 --- a/owocr/ocr.py +++ b/owocr/ocr.py @@ -1936,8 +1936,8 @@ class MeikiOCR: self.available = True logger.info('meikiocr ready') - def _to_normalized_bbox(self, pixel_bbox, img_width: int, img_height: int): - x1, y1, x2, y2 = pixel_bbox + def _to_normalized_bbox(self, rect, img_width, img_height): + x1, y1, x2, y2 = rect return rectangle_to_bounding_box(x1, y1, x2, y2, img_width, img_height) def _to_generic_result(self, response, img_width, img_height):