Convert CALS to MD
Turn CALS images into Markdown. 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
The text of a scanned drawing, as Markdown.The page is read with OCR, and only the words come out.
What you get
One MD file with the text read from the CALS picture. Before the text is read, the page is turned upright by the orientation in its header, so a sideways scan is read the right way up.
The result is plain text. You can open it in any editor and work with it as you would with any other Markdown file.
What it leaves behind
Layout, tables and pictures are dropped. Only the text is kept, so lines in a drawing, boxes around notes and the arrangement of the page are not carried over.
A picture with no readable text has nothing to write, so the conversion stops with
unsupported_elements.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 MD.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
Markdown
Plain text with light markup for headings, lists, links and code. What agents and developers write in.
- Extensions
- .md .markdown .mdown
- MIME type
- text
/markdown - Kind
- Text and data
In your code.The same CALS to MD conversion through the API, for your app or your agent.
$ cv convert photo.cal photo.md$ cv convert photo.cal photo.mdQuestions.What people ask about CALS to MD.
No. Layout, tables and pictures are dropped. Only the text that OCR reads is kept.
The picture has no readable text. There is nothing to write into the Markdown file, so the conversion stops.
Set Language to the languages in the file, such as fr,en. Without it the text is read as English, and accented letters and other scripts come out wrong or are not read.
No. The page is turned upright by the orientation in its header before the text is read.