From be279999c0429e601828fa3f524bb1b928adcc5c Mon Sep 17 00:00:00 2001 From: Eugen Ciur Date: Sun, 28 Jan 2024 13:14:36 +0100 Subject: [PATCH] remove outdated ocr lang reference (#93) --- docs/setup/add-ocr-langs.md | 2 +- docs/user/ocr.md | 30 ++++++++++++++---------------- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/docs/setup/add-ocr-langs.md b/docs/setup/add-ocr-langs.md index f5ebc383..fb1ff05e 100644 --- a/docs/setup/add-ocr-langs.md +++ b/docs/setup/add-ocr-langs.md @@ -1,6 +1,6 @@ # Add OCR Languages -By default the {{extra.project}} Docker image includes English, German, French, Italian, Spanish, Romanian and Portugues OCR languages. +By default the {{extra.project}} docker image includes English, German, French, Italian, Spanish, Romanian and Portugues OCR languages. You can install extra languages by creating a new docker image from base `papermerge/papermerge`. diff --git a/docs/user/ocr.md b/docs/user/ocr.md index b282c2ef..b8464da8 100644 --- a/docs/user/ocr.md +++ b/docs/user/ocr.md @@ -8,27 +8,25 @@ The OCR process status is indicated by little circle next to document's title. When OCR process is completed new document version is created and document becomes searchable. -## Automatic OCR - -By default OCR is triggered automatically when document is uploaded. However, -you can disable automatic OCR triggering, in such case you can start OCR only -when you consider necessary. - -!!! important - - Documents for which OCR was skipped - are not searchable! - -In order to disable automatic OCR, go to User Menu -> Preferences -> OCR -> Trigger -> Manual - ## Default OCR Language In order to perform OCR on the document you need to indicate beforehand the -language of respective document. Choosing ocr language for each and every -document uploaded is tedious - instead, in preferences a default OCR Language -is set - and that language is applied for each uploaded document. +language of respective document. When you click "Run OCR" in document viewer +you will need to choose OCR language. + +When you upload documents, the value of `PAPERMERGE__OCR__DEFAULT_LANGUAGE` +indicates OCR language system will use (if you don't change anything it will use `deu`, +which stands for German). + +!!! question -In order to set default OCR language, go to User Menu -> Preferences -> OCR -> Language + Or maybe UI should ask user OCR language on upload as well, some sort of + modal dialog which appears when user drops docs/clicks upload? Or there + should be an UI preference where user can opt which way he/she wants to + indicate default OCR language without being ask on every doc upload? + Open a [disscussion](https://github.com/ciur/papermerge/discussions) on this + topic and let's disscuss it! ## Status Indicator