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):