Convert RAW to HOCR

Turn RAW images into HOCR. The photo is developed with the camera's white balance and automatic brightness into 8-bit sRGB and turned upright.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Text and word positions from a camera RAW photo.The photo is read by OCR and written as one hOCR file.

  1. What you get

    One hOCR file, which is OCR output as HTML with the position of every word on the page. You get the text found in the photo and where each word sits.

    Before the text is read, the photo is developed with the camera's white balance and automatic brightness into 8-bit sRGB and turned upright.

  2. What is not applied

    Lens corrections are not applied. The camera's own picture style is not applied either. The photo is developed with the plain settings above, and OCR reads that result.

  3. Setting the language

    Set Language to the languages the text is in, so OCR knows which letters to expect. This matters most for Korean, Japanese and Chinese.

    To name several languages, separate them with commas, such as en,ko.

RAW 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 · RAW

Camera RAW

Camera RAW files from Canon, Nikon, Sony, Fujifilm and others, plus DNG.

Extensions
.dng .cr2 .cr3 .crw .nef .nrw .arw .srf .sr2 .raf .orf .rw2 .rwl .pef .ptx .srw .mrw .3fr .dcr .kdc .erf .mef .mos .iiq .fff .k25
MIME type
image/x-raw
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 RAW to HOCR conversion through the API, for your app or your agent.

terminal
$ cv convert photo.dng photo.hocr
$ cv convert photo.dng photo.hocr

Questions.What people ask about RAW to HOCR.

01OF 04

It contains the text found in the photo as HTML, with the position of every word on the page.

Camera RAW files from Canon, Nikon, Sony, Fujifilm and others, plus DNG. For other pairs, see every RAW conversion.

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

Yes. The photo is turned upright before the text is read.

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