paperless-ngx/src
Pit Kleyersburg aeab9a0e81 Detect language only on one page of PDF
To detect the language currently the entire document gets processed. If
a different language has been detected than the default one, the entire
document will be processed again for the new language.

This PR analyzes the middle page for its language and either processes
the remaining pages with the default language if it didn't differ, or
processes all pages for the new guessed language.

The amount of processed pages comes down from the worst case `2n` to
worst case `n+1`.
2016-02-14 17:55:13 +01:00
..
documents Detect language only on one page of PDF 2016-02-14 17:55:13 +01:00
paperless Enable parallel OCR processing 2016-02-14 15:57:42 +01:00
manage.py Changed the name, forgot to change the check. 2016-02-08 11:14:57 +00:00