Convert KRA to HOCR

Turn KRA images into HOCR. The flattened picture Krita saves inside the file is read; layers are not read one by one.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Text from a Krita painting.The words come out as hOCR, with the position of every word on the page.

  1. What you get

    One hOCR file. hOCR is OCR output written as HTML, and it records where each word sits on the page.

    The source is a KRA file, Krita's layered painting format. It is a zip that holds the layers and a merged preview.

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

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

Krita Document

Krita's native layered painting format. A zip with the layers and a merged preview.

Extensions
.kra
MIME type
application/x-krita
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 KRA to HOCR conversion through the API, for your app or your agent.

terminal
$ cv convert photo.kra photo.hocr
$ cv convert photo.kra photo.hocr

Questions.What people ask about KRA to HOCR.

01OF 04

It holds the text that OCR reads from the image. It also holds the position of every word on the page, written as HTML.

You get one file.

Name the languages the text in your painting is in. Naming the right one matters most for Korean, Japanese and Chinese.

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

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