Metadata-Version: 2.1
Name: ez-tess-ocr
Version: 0.0.3
Summary: OCR by tesseract c++ library
Home-page: https://github.com/sheauren/ez_tess_ocr
Author: Sheauren Wang
Author-email: sheauren@gmail.com
Classifier: Programming Language :: Python :: 3.5
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.5
Description-Content-Type: text/markdown

# 0.0.3 fix
fix: different api use same lib due to broken

# ez_tess_ocr install
```python
pip install ez_tess_ocr
```
# linux need install tesseract-ocr
```cmd
sudo add-apt-repository -y ppa:alex-p/tesseract5-ocr
sudo apt -y install tesseract-ocr
```

# example
```python
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')
```cmd
copy 
```
