diff --git a/ppocr/data/rec/img_tools.py b/ppocr/data/rec/img_tools.py index ef4e4e56e795f496adc1facd3c6af9060283556b..9c4bfa4d3cf0d86b8c70cb95f425970bb1d67da7 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