Convert HDR to HOCR

Turn HDR images into HOCR. The light is converted to 8-bit sRGB without tone mapping, so values brighter than white are clipped.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Text and word positions from an HDR image.OCR runs on the picture and gives you one hOCR file with every word's position.

  1. What you get

    One hOCR file. It is HTML that holds the text OCR finds in the image and the position of every word on the page.

    The Radiance HDR image keeps real-world brightness values. OCR works on the picture after those values are converted to a standard 8-bit image.

  2. What changes first

    The light is converted to 8-bit sRGB without tone mapping. Values brighter than white are clipped, so very bright areas of the image become plain white before OCR runs.

  3. Set 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 with commas, such as en,ko.

HDR and HOCR.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 · HDR

Radiance HDR

Radiance HDR images with real-world brightness values.

Extensions
.hdr
MIME type
image/vnd.radiance
Kind
Images
To · HOCR

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 HDR to HOCR conversion through the API, for your app or your agent.

terminal
$ cv convert photo.hdr photo.hocr
$ cv convert photo.hdr photo.hocr

Questions.What people ask about HDR to HOCR.

01OF 04

It is HTML with the text OCR finds and the position of every word on the page.

No. The light is converted to 8-bit sRGB without tone mapping, and values brighter than white are clipped.

The Language option tells OCR which letters to expect. It matters most for Korean, Japanese and Chinese.

Yes. Set Language to several languages separated with commas, such as en,ko.

More conversions.Other ways in and out of HDR and HOCR.