This commit is contained in:
littletomatodonkey 2020-09-23 07:25:55 +00:00
parent 896e573975
commit 3a18b08fc5
1 changed files with 1 additions and 1 deletions

View File

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