Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added note for Linux users: install from repo

...

  • Set the path for Tesseract
  • Select languages available for OCR from your Tesseract installation
  • Enable/disable Solr Fast Vector Highlighting
  • Set Solr field containing OCR text and the maximum number of results to return in a Solr query

Solr result highlighting

To have Islandora viewers recognize Solr search results and highlight them, one will need to configure Solr to index the HOCR (coordinate data) in a particular fashion.

The field that the HOCR is stored in must have the following attributes:   indexed="true" stored="true" termVectors="true" termPositions="true" termOffsets="true"

...

Any objects that were previously ingested but require this functionality will need to be re-indexed.

XSLT Reference Implementation for GSearch


Tesseract

Tesseract provides many languages which can be downloaded from here.

...

It is recommended to check the Tesseract page for more information on these options.

Note: If you running Linux distribution Tesseract software and language might be available in your repo, you can check it (e.g. on Ubuntu apt-cache search tesseract or on CentOS yum search tesseract for Tesseract and available languages,

for specific language: Ubuntu apt-cache search tesseract | grep Greek , CentOS yum search tesseract | grep Greek) when checked and found just install it on your server.