小编Sou*_*iri的帖子

Pytesseract 和 Tesserocr 有什么区别?

我在 Windows 10 中使用 Python 3.6 并且已经安装了Pytesseract,但我在代码中发现了Tesserocr,顺便说一下我无法安装。有什么不同?

python ocr tesseract python-tesseract

8
推荐指数
2
解决办法
9190
查看次数

Tesseract 对阿拉伯语单词/字母不返回任何内容

我已经安装了 Pytesseract,它可以完美地处理法语/英语文本以及数字。但是当我尝试阅读任何阿拉伯文本/字母时,它不会返回任何内容。

\n\n

这是我使用过的代码:

\n\n
try:\n    from PIL import Image\nexcept ImportError:\n    import Image\nimport pytesseract\n\npytesseract.pytesseract.tesseract_cmd = r"C:\\Program Files (x86)\\Tesseract-OCR\\tesseract.exe"\n\nprint(pytesseract.image_to_string(Image.open(\'maroc.jpg\'), lang=\'ara\'))\n
Run Code Online (Sandbox Code Playgroud)\n\n

这是我想读的信\xd8\xaf

\n\n

\xd8\xaf

\n\n

如果有人能够使用其他方法阅读它,请帮忙,谢谢!

\n

ocr tesseract arabic

4
推荐指数
1
解决办法
8658
查看次数

标签 统计

ocr ×2

tesseract ×2

arabic ×1

python ×1

python-tesseract ×1