Overview
This module acts a Toolkit for generating OCR and word coordinate information (stored in an HOCR datastream) that is required for on-page highlighting. The module relies on Tesseract to generate this information.
...
A TIFF reader that will read uncompressed TIFF images is also included. Islandora Book Solution Pack requires at least Tesseract version 3.02.02, which can be obtained from the project home page.
Dependencies
- Islandora
- Tuque
- Tesseract (Copy) (3.02.02 or later)
- ImageMagic (Optional, Required for OCR preprocessing)
- Islandora Paged Content (Optional)
Tesseract installation will differ depending on your operating system; please see the Tesseract README Wiki for detailed instructions.
Downloads
Release Notes and Downloads (Copy)
Installation
Install as usual, see this for further information.
Configuration
In Administration » Islandora » Islandora Utility Modules » OCR Tool (admin/islandora/tools/ocr), you can do the following:
- 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
Image RemovedImage Added
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.
...
Any objects that were previously ingested but require this functionality will need to be re-indexed.
Reference Implementation
Tesseract provides many languages which can be downloaded from here.
...