Skip to content

jorntx/quack

 
 

Repository files navigation

Quack

An enhanced ALTO-viewer for Quality Assurance oriented display of a collections of scans, typically from books or newspapers.

Features

  • Smooth zoom & pan of large images thanks to OpenSeadragon
  • Marking of blown highlights & lowlights by colored overlays (toggleable)
  • TextBlock marking by boxes (toggleable)
  • Interactive inspection of OCR (hover the mouse over a TextBlock)
  • Grid lines for checking skewing and rotation (toggleable)
  • Folder overview with thumbnails
  • Histogram, optionally not analyzing the edges of the image

Quack screenshot 20131127

Requirements

  • A minimum of 2GB free RAM for processing of 30MP scans
  • bash
  • GraphicsMagic
  • ImageMagick (as GraphicsMagic cannot create histograms)
  • openseadragon.min.js
  • A suitable beefy browser equipped machine for display, depending on image sizes and ALTO complexity
  • deepzoom (only if tile based display is enabled)
  • Perl (required by deepzoom)

Verbiage

This is basically a simple bash script that grew to 600+ lines. It works on a collection of images with corresponding ALTO-files with OCR and segmentation markup. It creates a HTML page for each image and uses the relevant parts of the ALTO files for creating TextBlock overlays with OCR inspection. No webserver is required as the pages can be used directly from the file system.

It can be quite heavy for the browser to display large images with OpenSeadragon, when there is a lot of ALTO-derived overlays. This is especially true if tiling is not used. Display has been tested with Firefox & Chrome. Chrome was markedly faster as of 2013-09-17.

Development

Developed primarily by Toke Eskildsen; partly as a personal project, partly as an employee at the State and University Library, Denmark.

About

QA-tool for scans with corresponding ALTO-files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published