open-mmlab / mmocr

OpenMMLab Text Detection, Recognition and Understanding Toolbox
https://mmocr.readthedocs.io/en/dev-1.x/
Apache License 2.0
4.32k stars 747 forks source link

Why are uppercase letters identified as lowercase letters? #1273

Closed zdjaddress closed 2 years ago

zdjaddress commented 2 years ago

image image image

I use ABINET to train text recognition (including English case, digits and special characters),without using the pre-trained model, The dictionary uses 'DICT91', but in the actual recognition effect, the upper case of English is identified as lower case. Please tell me how to solve this problem, thank you.

xinke-wang commented 2 years ago

Please set lower=False, otherwise the gt texts will be converted to lower case.

zdjaddress commented 2 years ago

It was my carelessness,thank you very much.