Convert TIFF to HOCR
Turn TIFF 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 TIFF files on the dialor turn it to pick what to do
Scanned TIFF text with word positions.The output is an hOCR file that holds the text and where each word sits on the page.
What you get
One hOCR file. hOCR is OCR output written as HTML, with the position of every word on the page. The text is read from the TIFF image by OCR.
TIFF is a container for lossless images, common in print, scanning and photography. The conversion reads the picture and returns the words it finds.
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.
When it fails
If the file could not be parsed, the conversion stops with
input_corrupted. This happens when the TIFF itself is damaged.For other conversions of this format, see every TIFF conversion.
TIFF and HOCR.What each format is, and the options this conversion takes.
- 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
TIFF
A flexible container for lossless images, common in print, scanning and photography.
- Extensions
- .tif .tiff
- MIME type
- image
/tiff - Kind
- Images
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 TIFF to HOCR conversion through the API, for your app or your agent.
$ cv convert photo.tif photo.hocr$ cv convert photo.tif photo.hocrQuestions.What people ask about TIFF to HOCR.
It is OCR output as HTML with the position of every word on the page. The file holds the text and where each word sits.
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 tells OCR which letters to expect.
The file could not be parsed. The conversion stops with this code when it cannot read the TIFF.