Skip to main content

OCR by tesseract c++ library

Project description

0.0.3 fix

fix: different api use same lib due to broken

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.3-py3-none-any.whl (57.7 MB view details)

Uploaded Python 3

File details

Details for the file ez_tess_ocr-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: ez_tess_ocr-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 57.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for ez_tess_ocr-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 552e4371c1d33bd21e421ef72e445750a87e3333fe2a831a0a17f03e0ce58ea0
MD5 acd9f77ba4b66a924b40446fcff9351a
BLAKE2b-256 deb62ac5129456aab61bd48b088c97e4ee1f90491c7b5c0f0c817fc178ab9e5d

See more details on using hashes here.

Supported by

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