A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Improves the docs: OCRing files in languages other than English + fixes typos
Jaime Gómez8115cf8905af
diff --git a/README.rst b/README.rstindex 71b59750b..6eec07d72 100644--- a/README.rst+++ b/README.rst@@ -59,7 +59,7 @@ powerful tools.* `ImageMagick`_ converts the images between colour and greyscale.* `Tesseract`_ does the character recognition.-* `Unpaper`_ despeckles and and deskews the scanned image.+* `Unpaper`_ despeckles and deskews the scanned image.* `GNU Privacy Guard`_ is used as the encryption backend.* `Python 3`_ is the language of the project.diff --git a/docs/consumption.rst b/docs/consumption.rstindex eadf12823..6e5bd8574 100644--- a/docs/consumption.rst+++ b/docs/consumption.rst@@ -128,7 +128,7 @@ following name/value pairs:don't start uploading stuff to your server. The means of generating thissignature is defined below.-Specify ``enctype="multipart/form-data"``, and then POST your file with:::+Specify ``enctype="multipart/form-data"``, and then POST your file with::Content-Disposition: form-data; name="document"; filename="whatever.pdf"diff --git a/docs/index.rst b/docs/index.rstindex 47710d376..43f77b15a 100644--- a/docs/index.rst+++ b/docs/index.rst@@ -33,4 +33,5 @@ Contentsapiutilitiesmigrating+ troubleshootingchangelogdiff --git a/docs/requirements.rst b/docs/requirements.rstindex 5d4fddaf0..d31096257 100644--- a/docs/requirements.rst+++ b/docs/requirements.rst@@ -8,7 +8,7 @@ should work) that has the following software installed on it:* `Python3`_ (with development libraries, pip and virtualenv)* `GNU Privacy Guard`_-* `Tesseract`_+* `Tesseract`_, plus it's language files matching your document base.* `Imagemagick`_* `unpaper`_diff --git a/docs/troubleshooting.rst b/docs/troubleshooting.rstnew file mode 100644index 000000000..bf2890304--- /dev/null+++ b/docs/troubleshooting.rst@@ -0,0 +1,18 @@+.. _troubleshooting:++Troubleshooting+===============++.. _troubleshooting_ocr_language_files_missing:++Consumer warns ``OCR for XX failed``+------------------------------------++If you find the OCR accuracy to be too low, and/or the document consumer warns that ``OCR for+XX failed, but we're going to stick with what we've got since FORGIVING_OCR is enabled``, then you+might need to install the `Tesseract language files+<http://packages.ubuntu.com/search?keywords=tesseract-ocr>`_ marching your documents languages.++As an example, if your documents are written in Spanish you may need to run::++ apt-get install -y tesseract-ocr-spa