Metadata-Version: 2.1
Name: tesserhocr2df
Version: 0.10
Summary: tesseract hocr to pandas DataFrame
Home-page: https://github.com/hansalemaos/tesserhocr2df
Author: Johannes Fischer
Author-email: aulasparticularesdealemaosp@gmail.com
License: MIT
Keywords: tesseract,hocr
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Description-Content-Type: text/markdown
License-File: LICENSE.rst
Requires-Dist: a_pandas_ex_apply_ignore_exceptions
Requires-Dist: imageio
Requires-Dist: lxml
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: touchtouch


# tesseract hocr to pandas DataFrame

## pip install tesserhocr2df

### Tested against Windows 10 / Python 3.11 / Anaconda 


```PY
from tesserhocr2df import text2df
from PrettyColorPrinter import add_printer

add_printer(1)
df = text2df(
    img=r"C:\Users\hansc\Desktop\2024-03-29 02_18_09-C__ProgramData_BlueStacks_nxt.png",
    add_after_tesseract_path="",
    add_at_the_end="-l eng+por --psm 3",
    tesseractpath=r"C:\Program Files\Tesseract-OCR\tesseract.exe",
    add_imgs=True,
)
print(df)
```
