From 5fae5ffd5ec9670659f4750b8147e8fc3692ffad Mon Sep 17 00:00:00 2001 From: tink2123 Date: Tue, 30 Jun 2020 15:03:37 +0800 Subject: [PATCH] update img_tools --- ppocr/data/rec/img_tools.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ppocr/data/rec/img_tools.py b/ppocr/data/rec/img_tools.py index ef4e4e56..9c4bfa4d 100755 --- a/ppocr/data/rec/img_tools.py +++ b/ppocr/data/rec/img_tools.py @@ -53,7 +53,6 @@ def resize_norm_img(img, image_shape): def resize_norm_img_chinese(img, image_shape): imgC, imgH, imgW = image_shape # todo: change to 0 and modified image shape - imgC = 3 max_wh_ratio = 0 h, w = img.shape[0], img.shape[1] ratio = w * 1.0 / h -- GitLab