This omeka plugin allow creation of xml files from pdf using pdftohtml. The xml is stored as a new file associated with the item.
Switch branches/tags
Nothing to show
Clone or download
XavierMuller fix error commit
Latest commit 26519e0 Jun 6, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
config fix error commit Jun 6, 2018
src fix error commit Jun 6, 2018
Module.php fix error commit Jun 6, 2018 fix error commit Jun 6, 2018

Extract OCR (plugin upgraded for Omeka S)


Omeka's module to extract OCR text in XML from PDF files, allowing fulltext searching within Universal Viewer plugin for omeka S ( need IIIF-Search module ).


  • This module needs pdftohtml command-line tool on your server
    sudo apt-get install poppler-utils
  • Upload the Extract OCR plugin folder into your plugins folder on the server;
  • you can install the plugin via github
    cd omeka-s/modules  
    git clone "ExtractOcr"
  • Install it from the admin → Modules → Extract Ocr -> install
  • Extract OCR automaticaly allow the upload of XML files

Using the Extract OCR module

  • Create an item
  • Save this Item
  • After save, add PDF file(s) to this item
  • To locate extracted OCR xml file, select the item to which the PDF is attached. Normally, you should see an XML file attached to the record with the same filename than the pdf file.

Optional modules

  • Universal Viewer : Module for Omeka S that adds the IIIF specifications in order to act like an IIPImage server, and the UniversalViewer, a unified online player for any file. It can display books, images, maps, audio, movies, pdf, 3D views, and anything else as long as the appropriate extensions are installed.

  • IIIF-Server : Module for Omeka S that adds the IIIF specifications to serve any images and medias.

  • IIIF-Search : Module for Omeka S that adds IIIF Search Api for fulltext searching on universal viewer.


See online Extract OCR issues.


This module is published under [GNU/GPL].

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.


  • Syvain Machefert, Université Bordeaux 3 (see symac)