Sign in

Mod for papermerge

Multi Language OCR

This mod adds multi language OCR packages to papermerge and paperless-ng/x, to be installed/updated during container start. Keep in mind that you still have to enable the languages in the app itself, as this mod only installs the system language packs.

arch
amd64
built

This mod is deprecated

This mod is deprecated due to Papermerge, Paperless-ng and Paperless-ngx containers having been deprecated

Use it#

Set DOCKER_MODS on the papermerge container and recreate it. The mod is pulled on every start; several mods are separated with |.

DOCKER_MODS=ghcr.io/linuxserver-playground/mods:papermerge-multilangocr

:papermerge-multilangocr always gets the newest build. To stay on this one, pin its tag:

DOCKER_MODS=ghcr.io/linuxserver-playground/mods:papermerge-multilangocr-f443cc8
services:
  papermerge:
    image: ghcr.io/linuxserver-playground/papermerge:latest
    environment:
      - DOCKER_MODS=ghcr.io/linuxserver-playground/mods:papermerge-multilangocr

Also for papermerge.

Details#

In papermerge/paperless-ng/x docker arguments, set an environment variable DOCKER_MODS=ghcr.io/linuxserver-playground/mods:papermerge-multilangocr to enable this mod.

Then set an environment variable named OCRLANG and set it to the language codes that follow tesseract-ocr- from this page. You can add multiple codes that are comma separated, with no spaces.

For example, if you want to enable OCR for Chinese Simple and Belarusian, you’d set the var as -e OCRLANG="chi-sim,bel".

Community project

Improve this mod, or make your own

Mods are how LinuxServer images grow without getting heavier: a Dockerfile, a few scripts and a mod.yml. If this one is missing something, or you need one like it for another image, an AI agent in our harness can build and test it with you.

Ask your agent

  • The papermerge-multilangocr mod <what is wrong>. Fix it, test it and draft the PR.
  • Make a mod like papermerge-multilangocr for <another image>, and test it.

Making a mod Every way to help Get the harness (opens in a new tab)

Source: papermerge-multilangocr branch (opens in a new tab). Every mod