frotms / PaddleOCR2Pytorch

PaddleOCR inference in PyTorch. Converted from [PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR)
Apache License 2.0
860 stars 168 forks source link

调用ppocr-v3时图片高宽不是等比缩放,影响一些识别效果 #42

Open evilbear opened 2 years ago

evilbear commented 2 years ago

调用ch_ptocr_v3_rec_infer.pth https://github.com/frotms/PaddleOCR2Pytorch/blob/main/tools/infer/predict_rec.py#L286 图片resize时高为48,宽被压缩,在识别一些英文和数字时,精度受到影响

evilbear commented 2 years ago

感谢frotms大佬提供的此项目

frotms commented 2 years ago

感谢关注。这里只是搬运了PaddleOCR的推理流程