Unicharset_extractor: command not found

I want to create new train data using tesseract. So, follow the step below on the website.

https://blog.cedric.ws/how-to-train-tesseract-301

I got the error below while I run Unicharset in an OS X terminal.

Command:

unicharset_extractor eng.micrtest.exp.box

Error: - bash: unicharset_extractor: command not found

I have the following software versions

OS: OSX EI 10.11.1 Signature

tesseract 3.04.01 leptonica-1.72 libjpeg 8d: libpng 1.6.21: libtiff 4.0.6: lib 1.2.5

is it possible to execute the unchaste_extractor command in OSx?

Thanks in advance.

+5
source share
2 answers

The problem is that Unicharset_extractor is not installed on your system. So please install tesseract training tools

INSTALL A TRAINING TOOL

brew install --with-training-tools tesseract

Please uninstall tesseract if you have already installed it.

REMOVE TESSERACT.

brew uninstall tesseract 

NOTE. Please read the logs during the installation of the training tools and follow the steps indicated in the logs.

It will take a little more time to install the training tool, so you will never freeze the terminal.

Please install Homebrew before working on a team.

+11
source

You will need to create executable files for Tesseract training; they are separate from the regular Tesseract executable.

https://github.com/tesseract-ocr/tesseract/wiki/Compiling

+1
source

Source: https://habr.com/ru/post/1246057/


All Articles