Convert CALS to TXT

Turn CALS images into TXT. The page is turned upright by the orientation in its header first.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Text read from a CALS scan.The words on the page come out as plain text, with nothing else kept.

  1. What you get

    One TXT file with the text read from the CALS page. The page is first turned upright by the orientation in its header, so a drawing scanned sideways is read the right way up.

    The text is recognized from the picture of the page. The file holds only that text and no formatting.

  2. What it leaves behind

    Layout, tables and pictures are dropped. Only the words remain, so columns, table cells and drawings are not copied.

    A picture with no readable text fails. The conversion stops with unsupported_elements.

  3. Setting the language

    Set Language to the languages the text is in, so OCR knows which letters to expect. Separate several with commas, such as fr,en.

    Without it the text is read as English. Letters such as é, ß and ł come out wrong, and other scripts, such as Cyrillic, Arabic, Thai, Korean or Chinese, are not read.

CALS and TXT.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 · CALS

CALS Raster

CALS Type 1 raster, the black and white Group 4 scans of engineering drawings and technical manuals in defense and government archives.

Extensions
.cal .cals
MIME type
image/x-cals
Kind
Images
To · TXT

Plain Text

Plain text with no formatting at all. The smallest, most portable form of a document.

Extensions
.txt .log
MIME type
text/plain
Kind
Text and data

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

terminal
$ cv convert photo.cal photo.txt
$ cv convert photo.cal photo.txt

Questions.What people ask about CALS to TXT.

01OF 04

No. Layout, tables and pictures are dropped, and only the text is kept.

The picture has no readable text. The conversion stops with this code when there is nothing to read.

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

The page is turned upright by the orientation in its header before the text is read.

More conversions.Other ways in and out of CALS and TXT.