Reduced storage requirements for barcode scanning. Added limit for pages to scan barcodes on.

This commit is contained in:
Lukas Metzger
2024-09-07 12:28:07 +00:00
parent 4903e4290d
commit 89d3eb5bc3
3 changed files with 52 additions and 6 deletions

View File

@@ -1289,6 +1289,18 @@ combination with PAPERLESS_CONSUMER_BARCODE_UPSCALE bigger than 1.0.
Defaults to "300"
#### [`PAPERLESS_CONSUMER_BARCODE_MAX_PAGES=<int>`](#PAPERLESS_CONSUMER_BARCODE_MAX_PAGES) {#PAPERLESS_CONSUMER_BARCODE_MAX_PAGES}
: Barcode detection is a computationaly intensive operation. This setting
limits the recognition of barcodes to a number of first pages. Since many
scanners have a limit for the number of pages that can be scanned it is
sensible to set this as the limit here. If a longer document is encountered
it is imported directly and not via scanner there should also be no barcodes
present. By setting this value to 0 the upper limit is disabled. This is also
the default setting.
Defaults to "0"
#### [`PAPERLESS_CONSUMER_ENABLE_TAG_BARCODE=<bool>`](#PAPERLESS_CONSUMER_ENABLE_TAG_BARCODE) {#PAPERLESS_CONSUMER_ENABLE_TAG_BARCODE}
: Enables the detection of barcodes in the scanned document and