如何使用Tesseract和OpenCV准确识别文本

时间:2019-05-10 01:40:19

标签: opencv tesseract opencv3.0 python-tesseract

我正在尝试进行OCR(使用 tesseract和openCV 的光学字符识别。

我使用此code得到了如下所示的结果。我得到的结果不准确,请告知我该如何解决。

要亲自尝试(在Mac上),请从上面的链接下载代码,然后使用终端执行以下步骤。

第1步:

cd opencv-text-recognition

步骤2: 运行以下命令

python text_recognition.py --east frozen_east_text_detection.pb \
--image images/vital1.jpg

enter image description here

enter image description here

enter image description here

0 个答案:

没有答案