mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/ocr.git
synced 2024-12-26 05:04:17 +00:00
Update README.md
This commit is contained in:
parent
09f42660f5
commit
6978b3b344
@ -28,6 +28,8 @@ docker run \
|
||||
<image_name>
|
||||
```
|
||||
|
||||
# Usage
|
||||
|
||||
## Start an OCR job
|
||||
1. Place some files inside the folder _files\_for\_ocr_. Files can either be multipage tiffs or PDF files. One folder per file is needed. Files should all be of the same language.
|
||||
2. Start a screen session with `screen -dmS <container_name>`
|
||||
@ -78,10 +80,10 @@ Example with all arguments used:
|
||||
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 the error "Cannot open your terminal '/dev/pts/0' - please check." appears: `script -q -c "screen -r <container-name>" /dev/null`).
|
||||
|
||||
## Use prebuilt image
|
||||
# Use prebuilt image
|
||||
Download via regestry function with login or deploy token.
|
||||
|
||||
## Add additional traineddata for OCR of additional languages.
|
||||
# Add additional traineddata for OCR of additional languages.
|
||||
Additional traineddata can be easily added to the Dockerfile.
|
||||
Just append the needed data file URL after line 56 in the Dockerfile following the same syntax.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user