Convert ASEPRITE to HOCR

Turn ASEPRITE images into HOCR. The visible layers of the first frame are combined as Aseprite draws them, with their blend modes, opacity, cel positions and tilemaps; reference layers are left out.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Text read from a sprite's first frame.The first frame is drawn as one picture, and OCR reads the words in it.

  1. What you get

    One hOCR file. It holds the text that OCR finds in the first frame, with the position of every word on the page.

    The first frame is combined from its visible layers as Aseprite draws them. Blend modes, opacity, cel positions and tilemaps are applied. Reference layers are left out.

  2. What it leaves behind

    Only the first frame is read. Later frames and their durations are not part of the result.

    Hidden layers do not take part, so text on a hidden layer is not read. The same goes for reference layers.

  3. Set the language

    Set Language to the languages the text is in, such as fr,en. Without it the text is read as English, so letters such as é, ß and ł come out wrong. Scripts such as Cyrillic, Arabic, Thai, Korean or Chinese are not read.

    For other outputs from OCR, see every HOCR conversion.

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

Aseprite Sprite

Aseprite's pixel-art format: layers, frames with their durations, palettes and tilemaps, with no flattened picture inside.

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

terminal
$ cv convert photo.aseprite photo.hocr
$ cv convert photo.aseprite photo.hocr

Questions.What people ask about ASEPRITE to HOCR.

01OF 04

No. Only the first frame is combined and read.

No. Only visible layers are combined. Reference layers are left out too.

Without Language the text is read as English. Set Language to the right languages, such as fr,en, and letters like é, ß and ł are expected.

Yes, when you set Language to include it. Without Language, those scripts are not read.

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