XSLT functions to transform common OCR formats
Check out OCR-Format-Comparison for a concise comparison of hOCR, ALTO, and ABBYY.
hocr
alto
abbyy
left
right
top
bottom
width
height
Retrieve the bounding box of an element
$format
: A valid OCR format$element
: The element to bound$coord
: A valid box coordinate
$element
: The element to bound$coord
: A valid box coordinate
$element
: The element to bound$coord
: A valid box coordinate
$element
: The element to bound$coord
: A valid box coordinate
Retrieve the image for an element
$format
: A valid OCR format$element
: The element with image
$element
: The element with image