WenmuZhou / PytorchOCR

基于Pytorch的OCR工具库,支持常用的文字检测和识别算法

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

纵向文本识别率效果差

risemeup opened this issue · comments

dst_img_height, dst_img_width = dst_img.shape[0:2]
if dst_img_height * 1.0 / dst_img_width >= 1.5:
dst_img = np.rot90(dst_img)
return dst_img

当检测到纵向文本的时候将会旋转90度,但有些情况旋转之后刚好是完全颠倒的文本,导致识别出错。请问这个问题有没有方法解决呢。

加一个 0和180分类 的分类模型

加一个 0和180分类 的分类模型

大佬,好事做到底,考虑在这个项目里增加分类模型吗?