Convert XPM to TSV

Turn XPM images into TSV. The text read by OCR as Tesseract's table of words, one row per word with its box, line and confidence, in English unless language lists others.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Text from an XPM image, as TSV.The conversion produces one file with tab-separated values.

  1. What you get

    A TSV file, which is plain text with values separated by tabs. XPM is an image format that stores pictures as C source, and the conversion reads the text in the image with OCR.

    The conversion gives you one file.

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

XPM and TSV.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 · XPM

X PixMap

X PixMap, images as C source.

Extensions
.xpm
MIME type
image/x-xpixmap
Kind
Images
To · TSV

Tab-Separated Values

Tab-separated values.

Extensions
.tsv .tab
MIME type
text/tab-separated-values
Kind
Text and data

In your code.The same XPM to TSV conversion through the API, for your app or your agent.

terminal
$ cv convert photo.xpm photo.tsv
$ cv convert photo.xpm photo.tsv

Questions.What people ask about XPM to TSV.

01OF 04

Yes. The conversion uses OCR to read the text in the image and writes it to a TSV file.

Set Language to the right language. Naming it matters most for these three.

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

You get one file.

More conversions.Other ways in and out of XPM and TSV.