Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone have a suggestion for digitizing + OCR'ing a printed corpus with images?

I have 1,200 pages of text sprinkled with essential photographs. Assuming I have perfect scans of the pages, what are my options for preserving the layout of the original text and allowing me to feed this to a program?

share|improve this question
up vote 1 down vote accepted

djvu (eg. is a somewhat standard format for scans, and it provides a "backstore" for plain text from OCR (with formatting, at least when generated with the commercial tools).

PDF can work the same way: You can show the images but have it backed with formatted text, so copy&paste works. In fact, the ABBYY set of OCR applications can create such PDFs.

PDF is much more common, but usually requires more space than djvu for the same data at the same quality.

share|improve this answer
Thanks, I've used djvu before on the user-side. At a glance, it seems there's more/better tools for PDF and Python. – wnewport May 3 '11 at 5:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.