Convert SUN to ALTO

Turn SUN images into ALTO. The text read by OCR as ALTO XML, the format libraries use for digitized pages, with the box of every block, line and word and how sure the reader is of each word, in English unless language lists others.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop SUN files on the dialor turn it to pick what to do

Text and word positions from an old Sun image.The picture is read with OCR and written as ALTO XML, one file.

  1. What you get

    A single ALTO XML file, the OCR output format that libraries and newspaper archives use. It holds the position and confidence of every word on the page.

    The input is a Sun Raster image, the kind of file that came from old Unix workstations. Files with the extension ras or sun are both SUN files.

  2. Setting the language

    Set Language to the languages the text is in, so OCR knows which letters to expect. Without it the text is read as English. Letters such as é, ß and ł then come out wrong, and other scripts, such as Cyrillic, Arabic, Thai, Korean or Chinese, are not read.

    Separate several languages with commas, such as fr,en.

SUN and ALTO.What each format is, and the options this conversion takes.

  1. 01 · language

    Language

    The languages the text is in, so OCR knows which letters to expect. Without it the text is read as English, so letters such as é, ß and ł come out wrong and other scripts, such as Cyrillic, Arabic, Thai, Korean or Chinese, are not read. Separate several with commas, such as fr,en.

The formats

From · SUN

Sun Raster

Sun Microsystems raster images from old Unix workstations.

Extensions
.ras .sun
MIME type
image/x-sun-raster
Kind
Images
To · ALTO

ALTO XML

OCR output in the XML that libraries and newspaper archives use, with the position and confidence of every word on the page.

Extensions
.alto.xml
MIME type
application/x-alto+xml
Kind
Text and data

In your code.The same SUN to ALTO conversion through the API, for your app or your agent.

terminal
$ cv convert photo.ras photo.alto.xml
$ cv convert photo.ras photo.alto.xml

Questions.What people ask about SUN to ALTO.

01OF 04

It contains the text OCR reads from the image. Each word comes with its position on the page and a confidence value.

Yes. Set Language to the languages in the image, such as fr,en. Without it the text is read as English.

Without Language, the text is read as English. Letters such as é, ß and ł are not expected, so they come out wrong. Set Language to fix this.

See every SUN conversion for other things you can do with a Sun Raster file. See every ALTO conversion for other ways to use ALTO XML.

More conversions.Other ways in and out of SUN and ALTO.