Convert BMP to HOCR

Turn BMP images into HOCR. The text read by OCR as hOCR, HTML with the box of every page area, line and word and how sure the reader is of each word, in English unless language lists others.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Text from a BMP, with word positions.The output is hOCR, which holds each word and where it sits on the page.

  1. What you get

    One hOCR file for the BMP you give it. hOCR is OCR output as HTML with the position of every word on the page, so you get the recognized text and its place in the image.

    BMP is a Windows bitmap with uncompressed pixels. The conversion reads the letters in the picture and writes them out as text.

  2. 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.

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

  3. When it stops

    If the file cannot be parsed, the conversion stops with input_corrupted. This means the BMP itself could not be read.

    For other image conversions, see every BMP conversion. For other text outputs, see every HOCR conversion.

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

Bitmap

Windows bitmap. Uncompressed pixels, large files, read by everything.

Extensions
.bmp .dib
MIME type
image/bmp
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 BMP to HOCR conversion through the API, for your app or your agent.

terminal
$ cv convert photo.bmp photo.hocr
$ cv convert photo.bmp photo.hocr

Questions.What people ask about BMP to HOCR.

01OF 04

It is OCR output as HTML. It holds the recognized text and the position of every word on the page.

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

Yes. Separate them with commas in Language, such as en,ko.

The file could not be parsed. The conversion stops with this code when the BMP cannot be read.

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