From 8e6c03f537168c5a17a6a33b14cb9aa13a0f19a1 Mon Sep 17 00:00:00 2001 From: WenmuZhou Date: Wed, 24 Feb 2021 15:40:58 +0800 Subject: [PATCH] remove blank line --- paddleocr.py | 1 - 1 file changed, 1 deletion(-) diff --git a/paddleocr.py b/paddleocr.py index b7053a71..c176be3b 100644 --- a/paddleocr.py +++ b/paddleocr.py @@ -306,7 +306,6 @@ class PaddleOCR(predict_system.TextSystem): if isinstance(img, np.ndarray) and len(img.shape) == 2: img = cv2.cvtColor(img, cv2.COLOR_GRAY2BGR) if det and rec: - dt_boxes, rec_res = self.__call__(img) return [[box.tolist(), res] for box, res in zip(dt_boxes, rec_res)] elif det and not rec: -- GitLab