Convert AVIF to HOCR

Turn AVIF images into HOCR. The picture is turned upright first.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Text from an AVIF image, with word positions.The picture is read by OCR and saved as one hOCR file.

  1. What you get

    One hOCR file. hOCR is OCR output written as HTML, and it records the position of every word on the page.

    The picture is turned upright first, so the text is read the way it is meant to be seen.

  2. What it leaves behind

    An animated AVIF gives only its first frame. The other frames are not read.

  3. Naming the language

    Set Language to tell OCR which letters to expect. Give the languages the text is in, and separate several with commas, such as en,ko.

    Naming the right language matters most for Korean, Japanese and Chinese.

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

AVIF

AV1-based images with better compression than WebP and support for HDR and alpha.

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

terminal
$ cv convert photo.avif photo.hocr
$ cv convert photo.avif photo.hocr

Questions.What people ask about AVIF to HOCR.

01OF 04

The text found in the picture as HTML, with the position of every word on the page.

No. Only the first frame is read.

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

Korean, Japanese and Chinese. Naming the right language matters most for those.

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