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
Release history Release notifications | RSS feed
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
Close
Hashes for ez_tess_ocr-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 552e4371c1d33bd21e421ef72e445750a87e3333fe2a831a0a17f03e0ce58ea0 |
|
MD5 | acd9f77ba4b66a924b40446fcff9351a |
|
BLAKE2b-256 | deb62ac5129456aab61bd48b088c97e4ee1f90491c7b5c0f0c817fc178ab9e5d |