Convert GIF to HOCR

Turn GIF 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 GIF files on the dialor turn it to pick what to do

Text and word positions from a GIF.The output is one hOCR file with every word and its place on the page.

  1. What you get

    One HOCR file. It is HTML that holds the text OCR reads from the image, along with the position of every word on the page.

    An animated GIF gives only its first frame, so only the text in that frame is read.

  2. Naming the language

    Set Language to tell OCR which letters to expect. It matters most for Korean, Japanese and Chinese. To name several languages, separate them with commas, such as en,ko.

  3. When it stops

    The conversion stops with input_corrupted when the GIF file cannot be parsed.

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

GIF

Indexed-color images with simple animation. Limited to 256 colors per frame.

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

terminal
$ cv convert photo.gif photo.hocr
$ cv convert photo.gif photo.hocr

Questions.What people ask about GIF to HOCR.

01OF 04

No. Only the first frame is used, so text that appears in later frames is not in the result.

The text OCR finds, written as HTML, with the position of every word on the page.

The option is there to help OCR know which letters to expect. Naming the right language matters most for Korean, Japanese and Chinese.

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

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