Convert PFM to ALTO
Turn PFM images into ALTO. Values from 0 to 1 are shown as black to white without a brightness curve, and values outside that range are clipped.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop PFM files on the dialor turn it to pick what to do
Text read from a PFM image, as ALTO XML.The output is one ALTO XML file with the position and confidence of every word.
What you get
One ALTO XML file. ALTO is OCR output in the XML that libraries and newspaper archives use, with the position and confidence of every word on the page.
The PFM is a floating-point image, so it is first shown as a picture and then read by OCR.
How values are shown
Values from 0 to 1 are shown as black to white without a brightness curve. Values outside that range are clipped.
Set Language to the languages the text is in, so OCR knows which letters to expect. Separate several with commas, such as fr,en.
Language matters
Without Language, 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.
For more conversions, see every PFM conversion or every ALTO conversion.
PFM and ALTO.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
Portable FloatMap
Floating-point pixels in the PNM family, used for HDR and depth maps.
- Extensions
- .pfm
- MIME type
- image
/x -portable -floatmap - Kind
- Images
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 PFM to ALTO conversion through the API, for your app or your agent.
$ cv convert photo.pfm photo.alto.xml$ cv convert photo.pfm photo.alto.xmlQuestions.What people ask about PFM to ALTO.
It contains the text OCR reads from the image. Each word comes with its position and confidence on the page.
Values from 0 to 1 are shown as black to white without a brightness curve. Values outside that range are clipped.
Without Language, the text is read as English, so letters such as é, ß and ł come out wrong. Set Language to the languages in the image.
Yes, when you set Language to match. Without it, scripts such as Cyrillic, Arabic, Thai, Korean or Chinese are not read.