Convert CALS to HOCR
Turn CALS images into HOCR. 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 from CALS scans, with word positions.One hOCR file that records each word and where it sits on the page.
What you get
One hOCR file for the CALS raster. hOCR is OCR output as HTML with the position of every word on the page, so you get the recognized text and the place of each word.
The page is turned upright by the orientation in its header first. A drawing stored on its side is read the right way up.
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.
Where to go next
CALS Type 1 raster is the black and white Group 4 scan format used for engineering drawings and technical manuals in defense and government archives. For other targets, see every CALS conversion. To see what else produces hOCR, see every HOCR conversion.
CALS and HOCR.What each format is, and the options this conversion takes.
- 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
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
hOCR
OCR output as HTML with the position of every word on the page.
- Extensions
- .hocr
- MIME type
- text
/x -hocr - Kind
- Text and data
In your code.The same CALS to HOCR conversion through the API, for your app or your agent.
$ cv convert photo.cal photo.hocr$ cv convert photo.cal photo.hocrQuestions.What people ask about CALS to HOCR.
The text OCR reads from the CALS page, as HTML with the position of every word on the page.
Yes, if you set Language. Without it the text is read as English, so scripts such as Cyrillic, Arabic, Thai, Korean or Chinese are not read.
Yes. Separate them with commas in Language, such as fr,en.
The page is turned upright by the orientation in its header before the text is read.