1 / 8

Batch OCR with Open Source Tools

Batch OCR with Open Source Tools. Jonathan Brinley Adelie Design (ex-Ball State University). http://whatever.scalzi.com/2006/09/13/clearly-you-people-thought-i-was-kidding/. Tesseract http://code.google.com/p/tesseract-ocr/ OCRopus http://code.google.com/p/ocropus/. How to OCR an Image.

kale
Download Presentation

Batch OCR with Open Source Tools

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Batch OCR withOpen Source Tools Jonathan Brinley Adelie Design (ex-Ball State University)

  2. http://whatever.scalzi.com/2006/09/13/clearly-you-people-thought-i-was-kidding/http://whatever.scalzi.com/2006/09/13/clearly-you-people-thought-i-was-kidding/

  3. Tesseract http://code.google.com/p/tesseract-ocr/ OCRopus http://code.google.com/p/ocropus/

  4. How to OCR an Image $ ocroscript recognize /path/to/file.png > /path/to/output.html

  5. hOCR <body> <divclass="ocr_page"title="bbox 0 0 2548 3300; image /path/to/scanned/image.png"> <spanclass="ocr_line"title="bbox 659 143 863 177">Some Text</span> <spanclass="ocr_line"title="bbox 723 275 916 324">More Text</span> </div> </body>

  6. http://www.brainofshawn.com/2007/08/05/givin-scalzi-a-hand/

  7. HocrConverter.py from HocrConverter import HocrConverter hocr = HocrConverter("myHocrFile.html") hocr.to_text("output.txt") hocr.to_pdf("myImageFile.png", "output.pdf")

  8. Learn More or Get the Code http://xplus3.net/2009/04/02/convert-hocr-to-pdf/ jonathanbrinley@gmail.com

More Related