Convert PFM to HOCR
Turn PFM images into HOCR. 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 with positions from a PFM image.OCR reads the words in a PFM image and writes them to one hOCR file.
What you get
One hOCR file. It is HTML that holds the text found in the image and the position of every word on the page.
PFM stores floating-point pixels, used for HDR and depth maps. Before the text is read, the values are shown as an ordinary picture.
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, so anything below 0 reads as black and anything above 1 reads as white.
Detail in an HDR image that sits beyond that range is not available to the text reader.
Setting the language
Set Language to the languages the text is in, so OCR knows which letters to expect. Naming the right language matters most for Korean, Japanese and Chinese.
Separate several languages with commas, such as en,ko.
PFM 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
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
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 PFM to HOCR conversion through the API, for your app or your agent.
$ cv convert photo.pfm photo.hocr$ cv convert photo.pfm photo.hocrQuestions.What people ask about PFM to HOCR.
It is OCR output as HTML. It has the text and the position of every word on the page.
Values outside the range of 0 to 1 are clipped. Anything above 1 is shown as white.
Yes. Set Language with the languages separated by commas, such as en,ko.
You get one file.