Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document the hacks to build training tools on mac #80

Open
giri-kum opened this issue May 10, 2022 · 2 comments
Open

Document the hacks to build training tools on mac #80

giri-kum opened this issue May 10, 2022 · 2 comments

Comments

@giri-kum
Copy link


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

@stweil stweil transferred this issue from tesseract-ocr/tesseract May 10, 2022
@stweil
Copy link
Contributor

stweil commented May 10, 2022

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

@Shreeshrii
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants