https://github.com/sumedhe/tesseract-ta
https://github.com/sumedhe/tesseract-ta
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/sumedhe/tesseract-ta
- Owner: sumedhe
- License: mit
- Created: 2018-04-17T19:45:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-17T18:27:05.000Z (over 8 years ago)
- Last Synced: 2025-06-02T11:10:30.765Z (about 1 year ago)
- Language: Java
- Size: 32.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tessaract-ta
## Scripted steps (tested as a root `sudo su`):
1. `./scripts/1-pull-container.sh` - pull **tesseractshadow/tesseract4cmp** image from [Docker Hub](https://hub.docker.com/r/tesseractshadow/tesseract4cmp/) (automated build using dockerfile from this repository).
2. `./scripts/2-remove-container.sh` - (optional) remove **t4cmp** if it already exists and you want to start from begining (note, all compilation results stored inside container will be lost).
3. `./scripts/3-run-new-container.sh` - run the new **t4cmp** container.
4. `./scripts/4-update-src.sh` - update source code of Leptionica and Tesseract.
5. `./scripts/5-compile-src.sh` - compile Leptionica and Tesseract, it may take tens of minutes
6. `./scripts/6-test-ocr.sh` - do some OCR tests
7. `./scripts/7-build-pkg.sh` - (optional) build Leptionica and Tesseract packages and copy them outside **t4cmp** container
## Bulid docker container yourself
1. Clone this repository to your $T4_WORKSPACE
2. Execute `docker build -t tesseractshadow/tesseract4cmp $T4_WORKSPACE` (or `./dockerfile.build.sh`)
## If something went wrong
You can get into the container using SSH:
- `localhost:4022`,
- user: `root`,
- password: `root`