Convert XWD to HOCR

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

Text with the position of every word.An XWD screen capture becomes an hOCR file that lists the words it reads.

  1. What you get

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

    XWD files are screen captures written by the X Window System. The conversion reads the text in the capture and writes it into the HOCR file.

  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 languages, separate them with commas, such as en,ko.

  3. More conversions

    See every XWD conversion or every HOCR conversion for other ways to use these formats.

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

X Window Dump

Screen captures written by the X Window System.

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

terminal
$ cv convert photo.xwd photo.hocr
$ cv convert photo.xwd photo.hocr

Questions.What people ask about XWD to HOCR.

01OF 04

It holds the text that OCR reads, written as HTML. Each word comes with its position on the page.

An XWD file, which is a screen capture written by the X Window System. Each conversion gives one file.

Yes. Set Language to several languages separated by commas, such as en,ko.

It matters most for Korean, Japanese and Chinese. Naming the right language helps OCR know which letters to expect.

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