diff --git a/ppocr/data/rec/img_tools.py b/ppocr/data/rec/img_tools.py index 4d51f7ee0777fd9116d17687afb3fdef7186a22c..0eeb2c4d95389bfc40e7fc42aab3384b0893ecae 100755 --- a/ppocr/data/rec/img_tools.py +++ b/ppocr/data/rec/img_tools.py @@ -364,7 +364,7 @@ def process_image(img, text = char_ops.encode(label) if len(text) == 0 or len(text) > max_text_length: logger.info( - "Warning in ppocr/data/rec/img_tools.py:line362: Wrong data type." + "Warning in ppocr/data/rec/img_tools.py: Wrong data type." "Excepted string with length between 1 and {}, but " "got '{}'. Label is '{}'".format(max_text_length, len(text), label))