tessdoc icon indicating copy to clipboard operation
tessdoc copied to clipboard

Document the hacks to build training tools on mac

Open giri-kum opened this issue 2 years ago • 2 comments


Environment

  • Tesseract Version: 5.1.0
  • Platform: Mac

Current Behavior:

The documentation here https://tesseract-ocr.github.io/tessdoc/tess4/TrainingTesseract-4.00.html#hardware-software-requirements says that

"At time of writing, training only works on Linux. (macOS almost works; it requires minor hacks to the shell scripts to account for the older version of bash it provides and differences in mktemp.)"

Expected Behavior:

It would be beneficial for macOS users to document these minor hacks to help them build the training tools on mac.

Suggested Fix:

Document the hacks to build training tools on mac

giri-kum avatar May 10 '22 13:05 giri-kum

This is not a technical problem of Tesseract, but a documentation issue. Therefore I transferred it to tessdoc.

stweil avatar May 10 '22 13:05 stweil

it requires minor hacks to the shell scripts to account for the older version of bash it provides and differences in mktemp.)"

The comments relate to tesstrain.sh which has already been deprecated in favor of makefile based training.

Shreeshrii avatar May 11 '22 02:05 Shreeshrii