44

I have some old sci-fi novels that are out of print and the rights owners are not creating them in ebook form. Is there any software that facilitates scanning and conversion of these paper books into ebook format?

  • Please, be a little more specific. What ebook format do you want to convert to? ePub, pdf, mobi? – Allan Veloso Jan 3 '14 at 4:26
  • PDF is not really an eBook but any other recognized format is fine. – Chad Jan 3 '14 at 4:28
  • Please note: I've done OCR several times. Whenever OCR is done you will have to manually check every word. A spell checker helps but doesn't get every error. Also, PGDP.net may already have converted your books to EPUB. Check there first. – Bulrush May 31 '16 at 13:03
26

Tesseract is an open source OCR engine that gives fairly good results. It's my understanding that Google use it for Google Books. OCRFeeder is a project for document layout analysis that works as a nice GUI for Tesseract.

Ocropus is another known open source OCR system.

10

For commercial software you could try ABBYY FineReader or alternatives, or Omnipage or alternatives.

Both can output in Searchable PDF format, which is useful because if you use OCR on books you will never get 100% the right content without proofreading.

  • ABBYY Fine Reader can output directly to EPUB. You can proof read in Fine Reader before writing it out. – Jeffrey DeLeo Dec 21 '13 at 3:54
10
  1. ABBY Finereader to a text file
  2. proofread text file against images
  3. use NoteTab Pro to HTMLize the text
  4. create ePub structure in Oxygen, cut and paste HTML into ePub files
  5. view with Calibre and Adobe Digital Editions
  6. check with ePub Validator (http://validator.idpf.org/)

If you don't proofread, you're going to get scannos (equivalent of a typo, resulting from imperfect optical character recognition of a document digitized with a scanner; source).

BTW, I have many disintegrating SF novels, from the 50s onwards, that I fully intend to scan and save ... when I get a round tuit.

9

Scan Tailor is software that helps optimize the images resulted from scan of books and it is free.

Its features include:

  • Fix orientation
  • Split pages (very useful when you scan two pages at once and want to make a single page view ebook)
  • Deskew
  • Select content (can be used to remove the pagination and any other content that do not make sense in flowable ebook formats)
  • Change margins
  • Erase spots

If you also want to convert these books to epub or similar format, you will need a OCR software and some software like Calibre to transform the result text and images into the ebook file.

7

The point of failure in all these toolchains is the OCR.

  1. It is well worth the time spent tracking down clean, undamaged, unfaded, non-yellowed copies with a good-quality print impression, if this is at all possible.

  2. If you can, get a local craft bookbinder to trim the spine off the book with a power guillotine, and then use an autofeed scanner on the sheets, so that every page image is exactly upright.

This maximises the chances of getting a very low error rate in character recognition. Time spent up front saves time spent later making corrections.

6

Scanned texts are most efficiently stored in the DJVU format, if lossy compression is acceptable (if not, use a multi-page format like TIFF). If you convert scans to the DJVU format with OCR recognition enabled, you can extract the OCR-ed text and use if for EPUB generation.

On Linux you can do so using djvutxt to get the text and convert that to EPUB.

A more comfortable way of extraction/conversion is using Calibre to convert the text in the DJVU file to EPUB, this works on Linux and Windows. The Linux version uses djvutxt to extract the text if available, if not it falls back to Python based extraction of the (non-standard compressed) text stream. Windows always uses the slower Python based extraction.

(This is a shameless plug for the calibre plug-in that I wrote a few years ago for exactly this purpose).

  • 1
    You can do the conversion e.g with LizardTech's Document Express Professional. – Anthon Dec 21 '13 at 12:46
  • What's wrong with PDF? DJVU gives you files that most people cannot read, and produce questions such as "how do I convert DJVU to PDF?" – zx81 Apr 12 '14 at 23:17
  • Zx81 This is not a problem of format, but the distribution of DjVu readers is bad. DjVu is better than PDF. This is a bad education of people. I can tell you why it's better. – Stilgar Dragonclaw Oct 1 '18 at 0:40
5

Here is a project that handles every step of the process.

There is an open source project called Homer that installs a suite of software to help with this including ScanTailor and tesseract-ocr. The final result is a searchable PDF. You can copy the text layer from the pdf (or the related html file created in the process) and paste it into an editor like Sigil to create an epub. Then, if you want mobi, convert using Calibre.

And there is a paper I wrote that explains the software in more detail.

  • And what searchable DjVu as output? It is in options of app? – Stilgar Dragonclaw Oct 1 '18 at 0:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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