Skip to main content

OCR by tesseract c++ library

Project description

ez_tess_ocr install

pip install ez_tess_ocr

linux need install tesseract-ocr

sudo add-apt-repository -y ppa:alex-p/tesseract5-ocr
sudo apt -y install tesseract-ocr

example

from ez_tess_ocr import create_ocr,release_ocr,ocr_image,ocr_conf
import cv2

def test_ocr():
    image = cv2.imread('./testing/ocr_test.png')
    api = create_ocr()
    text = ocr_image(api,image)
    conf = ocr_conf(api)
    release_ocr(api)
    print('text',text,'conf',conf)


if __name__ =='__main__':
    test_ocr()

change language (default='eng')

copy 

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ez_tess_ocr-0.0.2-py3-none-any.whl (57.7 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page