Skip to content

Commit

Permalink
remove outdated ocr lang reference (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
ciur authored Jan 28, 2024
1 parent 76fa149 commit be27999
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
2 changes: 1 addition & 1 deletion docs/setup/add-ocr-langs.md
Original file line number Diff line number Diff line change
@@ -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`.

Expand Down
30 changes: 14 additions & 16 deletions docs/user/ocr.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit be27999

Please sign in to comment.