From 6978b3b3441aff1c0a531e971c84a58805aa8745 Mon Sep 17 00:00:00 2001 From: Stephan Porada Date: Wed, 3 Apr 2019 15:24:51 +0200 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f7f5b06..5ad481b 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,8 @@ docker run \ ``` +# 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 ` @@ -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 `. (Try this if the error "Cannot open your terminal '/dev/pts/0' - please check." appears: `script -q -c "screen -r " /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.