【发布时间】:2021-01-12 12:21:59
【问题描述】:
我正在尝试使用 Tesseract 从下图中提取,
text = pytesseract.image_to_string(image, config='-c preserve_interword_spaces=1 --psm 1 --oem 1')
这是 tesseract 4 ocr 的结果,
print(text)
Wrote Datastream application
e Used Kafka to get the accounts
如果您看到图像中的项目符号点被转换为e,我在文档中发现几个这样的点在 ascii 中转换为单个字符
如果有人熟悉此类问题并有解决方案,请告诉我。
【问题讨论】:
标签: python python-3.x ocr tesseract python-tesseract