Tesseract OCR:图像到包含两列文本的文本

时间:2018-07-30 20:38:25

标签: python tesseract python-tesseract

我有一篇PNG格式的文章,我尝试使用Python和Tesseract OCR读取两列文本。但是,默认情况下,Tesseract在水平wa中从左到右读取。是否可以自动检测文本中的列并从左到右逐列读取?

1 个答案:

答案 0 :(得分:0)

据我所知,您唯一的机会就是可以使用一种页面细分模式来处理您的图片

文档在这里:https://github.com/tesseract-ocr/tesseract/wiki/Command-Line-Usage#using-different-page-segmentation-modes