Home  >  Article  >  Backend Development  >  What are some useful OCR recognition tools?

What are some useful OCR recognition tools?

WBOY
WBOYOriginal
2016-12-01 00:25:241219browse

  1. Want to recognize characters in a picture
    What are some useful OCR recognition tools?

2. Tried an open source package on github https://github.com/netpi/baid...
The recognition accuracy is not high
What are some useful OCR recognition tools?

3. Please help recommend a useful OCR recognition package (php python node will do)
Thank you

Reply content:

  1. Want to recognize characters in a picture
    What are some useful OCR recognition tools?

2. Tried an open source package on github https://github.com/netpi/baid...
The recognition accuracy is not high
What are some useful OCR recognition tools?

3. Please help recommend a useful OCR recognition package (php python node will do)
Thank you

Python has a package called pyocr

<code>from PIL import Image
from pyocr import pyocr # brew install tesseract

def pic_recognization(img):
    tools = pyocr.get_available_tools()
    res = tools[0].image_to_string(Image.open(img))
    return res</code>

The actual measurement of recognizing numbers is quite accurate, even if there are some letters

Express OCR text recognition software

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn