tesseract-ocr / tesstrain

Train Tesseract LSTM with make
Apache License 2.0
630 stars 184 forks source link

Python package for tesstrain.py #308

Closed stefan6419846 closed 1 year ago

stefan6419846 commented 2 years ago

The Python approach in src/training requires additional effort to be used from within own Python code, as there is no PyPI package for it.

It would be great to make this code a real Python package, which can be used as a library. This requires some refactoring to work. The existing tesstrain.py script can be kept as an entry point for direct usage.