Update README.md

This commit is contained in:
Stephan Porada 2019-04-03 15:21:14 +02:00
parent 333c67acb8
commit 0a8a89c276

View File

@ -44,6 +44,32 @@ Valid language codes are:
- por (Portuguese) - por (Portuguese)
- spa (Spanish) - spa (Spanish)
### Additional OCR arguments
Below we will describe all available pipeline arguments that can be used.
- **_-i some/path_**
- Sets the input directory using the specified path.
- required = True
- **_-o some/path_**
- Sets the output directory using the specified path.
- required = True
- **_-l valid_language_code_**
- Tells tesseract which language will be used.
- required = True
- **_--keep_intermediates_**
- Optional argument. If set all intermediate filese created during the OCR process will be kept.
- default = False
- required = False
- **_--nCores_**
- Sets the number of CPU cores being used during the OCR process.
- default = min(4, multiprocessing.cpu_count())
- required = False
## Exit an re-enter the current running OCR process ## Exit an re-enter the current running OCR process
1. You can leave the currently running OCR process by pressing `ctrl + a + d` and thus leaving the screen session. 1. You can leave the currently running OCR process by pressing `ctrl + a + d` and thus leaving the screen session.
2. Re-enter the screen session to check the status of the running OCR job with `screen -r <container-name>`. (Try this if there is an error. `script -q -c "screen -r <container-name>" /dev/null`). 2. Re-enter the screen session to check the status of the running OCR job with `screen -r <container-name>`. (Try this if there is an error. `script -q -c "screen -r <container-name>" /dev/null`).