{"repo":"tesseract-ocr/tesstrain","free":true,"listed":false,"github":"https://github.com/tesseract-ocr/tesstrain","clone":"git clone https://github.com/tesseract-ocr/tesstrain.git","description":"Train Tesseract LSTM with make","language":"Python","stars":722,"topics":["tesseract","ocr","training","hacktoberfest"],"license":"Apache-2.0","category":"media-processing","readme_excerpt":"tesstrain Training workflow for Tesseract 5 as a Makefile for dependency tracking. Installation Auxiliaries Leptonica, Tesseract Windows Python Language data Usage Choose the model name Provide ground truth data Train Change directory assumptions Make model files (traineddata) Plotting CER License Installation Auxiliaries You will need at least GNU make (minimal version 4.2), wget , find , bash , and unzip . Leptonica, Tesseract You will need a recent version ( = 5.3) of tesseract built with the training tools and matching leptonica bindings. Build instructions and more can be found in the Tesseract User Manual. Windows 1. Install the latest tesseract (e.g. from https://digi.bib.uni-mannheim.de/tesseract/), and make sure that tesseract is added to your PATH. 2. Install Python 3 3. Install Git SCM to Windows - it provides a lot of linux utilities on Windows (e.g. find , unzip , rm ) and put C:\\Program Files\\Git\\usr\\bin to the beginning of your PATH variable (temporarily you can do it in cmd with set PATH=C:\\Program Files\\Git\\usr\\bin;%PATH% - unfortunately there are several Windows tools with the same name as on linux ( find , sort ) with different behavior/functionality and there is need to avoid them during training. 4. Install winget/Windows Package Manager and then run winget install ezwinports.make and winget install wget to install missing tools. Python You need a recent version of Python 3.x. For image processing the Python library Pillow is used. If you don't have a glo","default_branch":null,"files":null,"tree":[],"storefront":"/r/tesseract-ocr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tesseract-ocr/tesstrain/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}