Slashdot Mirror


Open Source OCR That Makes Searchable PDFs

An anonymous reader writes "In my job all of our multifunction copiers scan to PDF but many of our users want and expect those PDFs to be text searchable. I looked around for software that would create text searchable pdfs but most are very expensive and I couldn't find any that were open source (free). I did find some open source packages like CuneiForm and Exactimage that could in theory do the job, but they were hard to install and difficult to set up and use over a network. Then I stumbled upon WatchOCR. This is a Live CD distro that can easily create a server on your network that provides an OCR service using watched folders. Now all my scanners scan to a watched folder, WatchOCR picks up those files and OCRs them, and then spits them out into another folder. It uses CuneiForm and ExactImage but it is all configured and ready to deploy. It can even be remotely managed via the Web interface. Hope this proves helpful to someone else who has this same situation."

133 comments

  1. Thanks! by Fast+Thick+Pants · · Score: 5, Insightful

    Wow, it's a "Tell Slashdot" segment! I've been looking for something similar myself, so thanks, I'll give this a spin!

    1. Re:Thanks! by godrik · · Score: 2, Informative

      Same here. Thank you too!

      (I know this post is very redundant and useless. But thanks are always welcome, aren't they ?)

    2. Re:Thanks! by sumdumass · · Score: 1

      Heh.. 6 months of looking for something and about to settle on a very expensive proprietary deployment.

      I'll have to see if it works as easy as he says, but it's right there for my needs too.

    3. Re:Thanks! by Anonymous Coward · · Score: 0

      You've misspelled Reddit or digg.

    4. Re:Thanks! by MikeBabcock · · Score: 3, Interesting

      I only wish I could find a source download on their site. Even a "what we're doing" guide. Downloading the ISO and reverse-engineering what they're doing with cuneiform and exactimage doesn't seem nearly as productive, especially when I'd rather implement this on an existing server than boot a special piece of hardware with it.

      --
      - Michael T. Babcock (Yes, I blog)
    5. Re:Thanks! by tsstahl · · Score: 2, Insightful

      Virtual machine?

    6. Re:Thanks! by rec9140 · · Score: 0

      I have to say this looks interesting... THANKS!

      --
      1311393600 - Back to Black
    7. Re:Thanks! by houstonbofh · · Score: 1

      Virtual machine?

      Only a solution to "How do I get this running" and not "What is this thing doing?" The lack of source is a bit offputting to me. I will look at it, but I may wait to roll it out.

    8. Re:Thanks! by StuartHankins · · Score: 1

      Setup a VM; not only can you monitor / limit its communication but it's a cinch to back up. In my environment this is the easiest way to test something also. I use ntop for monitoring and it works ok; it would probably be a good fit in this case.

    9. Re:Thanks! by interval1066 · · Score: 1

      "Only a solution to "How do I get this running" and not "What is this thing doing?" The lack of source is a bit offputting to me. I will look at it, but I may wait to roll it out.

      I would tend to agree, only because I'm extremely paranoid when it comes to security; I'd do some site analysis and make sure unexpected connections to foreign hosts aren't going out over the wire. If they were I'd want to do some code analysis to see what exactly is going on. Or if I wanted to add some customization: extremely important. But; in a pinch it sounds like a really worthwhile solution.

      --
      Python: 'And then suddenly you have a language which says "we're all stuck with whatever the whiniest coder wants".'
    10. Re:Thanks! by TooMuchToDo · · Score: 3, Insightful

      Looks like Slashdot needs a moderation "+1 Thank You!" option.

    11. Re:Thanks! by Peach+Rings · · Score: 1

      It's all GPL so there has to be source somewhere. Their site says

      The source code of the standard packages on the CD are available from their respective original providers (for example on the FTP servers at Debian). Special components such as the WatchOCR program and scripts are available on the CD.

      so it's probably on the disk.

    12. Re:Thanks! by Anonymous Coward · · Score: 0

      I tried asking them the question, let's see what happens, if anything. Looks like a bit shady operation at the moment.

      http://www.watchocr.com/forum/viewtopic.php?f=5&t=11&sid=b4411ccf6d80bbb7823b8b007d1c1731

    13. Re:Thanks! by oldhack · · Score: 1

      Mustn't disturb the delicate balance of the (slashdot) universe - pair it with -1 (or +1) "Fuck You!" option.

      --
      Fuck systemd. Fuck Redhat. Fuck Soylent, too. Wait, scratch the last one.
    14. Re:Thanks! by anonymous+cupboard · · Score: 1

      Many systems are better dedicated to a single problem, i.e., just because you have a server doesn't mean to say that you have to serve everything. VMs are a great solution to this allowing you to partition up your server so that each service that you provide runs in its own little virtual box without having to worry so much about unwanted interactions.

    15. Re:Thanks! by alabandit · · Score: 1

      +1 Thank You!

      --
      "You are still innocent until proven guilty. What's changed is what they do to innocent people." by notnAP (846325)
    16. Re:Thanks! by MikeBabcock · · Score: 1

      Their reply is inept and as bad as I'd expected.

      They want me to wade through a fully functional CD to find their various customized configuration files and figure out which bits they changed.

      Load Knoppix disc, load OCR disc, do full diff on mounted contents? Not my idea of fun.

      They can post an actual "here's what we did" or I'll just ignore it.

      --
      - Michael T. Babcock (Yes, I blog)
    17. Re:Thanks! by MikeBabcock · · Score: 1

      If I have a working server that already hosts PDF content, why would I want to virtualize this one when I could integrate its features into the existing one?

      That said, the one server per service concept is a mentality I do not subscribe to.

      --
      - Michael T. Babcock (Yes, I blog)
    18. Re:Thanks! by anonymous+cupboard · · Score: 1

      That said, the one server per service concept is a mentality I do not subscribe to.

      This is where Microsoft came apart. Due to their pricing model, there was always pressure to stick as much on one box as possible. This in turn led to interesting side effects.

      Linux always made it easier to have many boxes, which tended to simplify problems. VMs meant you no longer had to worry about physical machines and you can still limit resources - useful if the OCR turns out to be a CPU pig.

    19. Re:Thanks! by Anonymous Coward · · Score: 0

      If you check their site, they now have .deb files with all the source. Also they released a new version.

    20. Re:Thanks! by r3naissance · · Score: 1

      Another "thanks"; I have been looking for something along these lines on a personal basis. Looking forward to checking it out.

  2. Not an alternative by Anonymous Coward · · Score: 0

    Nothing beats the proprietary software like ABBYY Finereader.

  3. Wait a sec by inKubus · · Score: 5, Funny

    There's something wrong with this Slashvertisement--it's for a free product!

    --
    Cool! Amazing Toys.
  4. Thanks for the info... by TiggertheMad · · Score: 2

    Wow, very cool. I have been looking around for something similar myself.

    While we are on the topic, anyone seen a good solution to scan, OCR, and reconvert existing crappy pdfs to improve them?

    --

    HA! I just wasted some of your bandwidth with a frivolous sig!
    1. Re:Thanks for the info... by Anonymous Coward · · Score: 0
    2. Re:Thanks for the info... by Anonymous Coward · · Score: 0

      While we are on the topic, anyone seen a good solution to scan, OCR, and reconvert existing crappy pdfs to improve them?

      Yeah, it's called a printer.

      (Kidding! ;))

    3. Re:Thanks for the info... by Anonymous Coward · · Score: 0

      After you do OCR, you can parse your text, write a script to mark it up in LaTEX, and run it thru pdflatex.

    4. Re:Thanks for the info... by It's+the+tripnaut! · · Score: 2, Informative

      While we are on the topic, anyone seen a good solution to scan, OCR, and reconvert existing crappy pdfs to improve them?

      I've tried quite a few free and proprietary OCR's and the best available right now, imho, is ABBYY Finereader. Other than fonts, it also easily recognizes tables, diagrams and illustrations. But most of all, it can read and render 189 languages (including Chinese and Cyrillic) accurately. A free trial version is available.

    5. Re:Thanks for the info... by datakid23 · · Score: 1

      It's true. I teach Translation Studies and one of the main pieces of software that's needed is OCR. I use OOo, Poedit, Lokalize, Jubler and OmegaT in my class, I teach Creative Common's Licensing, I promote sites like http://pootle.locamotion.org/ and http://www.transifex.net/ I *really* *really* wish I could give my students a best of the bunch free OCR link. But the reality is, ABBYY Finereader is the best that's available. And since it's relatively cheap (compared to some of the translation software like Trados) I don't think it's too onerous. But hot diggity, I wish there was a better FLOSS OCR program.

    6. Re:Thanks for the info... by ArundelCastle · · Score: 1

      While we are on the topic, anyone seen a good solution to scan, OCR, and reconvert existing crappy pdfs to improve them?

      I think they are called interns. Photoshoop's Content-Aware Fill isn't very good with charts or handwriting.

      ...wait, you actually kept the original document after PDFing? Troglodyte.

  5. added. by jon42689 · · Score: 1

    Saw this on facebook. While I don't personally have a need for this, I know that down the line, I'll be glad I knew about it. Good post.

    1. Re:added. by b4dc0d3r · · Score: 3, Funny

      Saw this on facebook.

      That isn't a good sign, my friend.

    2. Re:added. by Fnord666 · · Score: 1

      Saw this on facebook.

      Please close the door and wash your hands afterwards when partaking in these activities. Thanks.

      --
      'The tyrant will always find pretext for his tyranny.' - Aesop's Fables
  6. Run on a VM by ChuckDriver · · Score: 3, Insightful

    Ultimately, it would be nice to figure out what script or daemon is running in this and put it on an existing server. In the mean time, I could see just creating a VM for this thing to get started.

    1. Re:Run on a VM by xtracto · · Score: 1

      Haha, I thought exactly the same. It would be really great if someone could create a VirtualBox, vmware or Qemu "virtual appliance" for this!

       

      --
      Ubuntu is an African word meaning 'I can't configure Debian'
    2. Re:Run on a VM by TooMuchToDo · · Score: 2, Interesting

      Already on it. Want it as an EC2 AMI? ;)

    3. Re:Run on a VM by xtracto · · Score: 1

      It would be cool if you really do it, do you expect to publish it somewhere?
      cheers.

      --
      Ubuntu is an African word meaning 'I can't configure Debian'
  7. Cool program by Raineer · · Score: 1

    I agree with above posters, it's amazing to see a useful Slashvertisement. This one, however, has some quality behind it. I had not seen this program and OCR is one area where it's been difficult to find quality OSS solutions. Thanks for the post.

    1. Re:Cool program by inode_buddha · · Score: 1

      You would be amazed at how much the people over at Groklaw could use something like this; since most US court documents are recorded as scanned PDF's and TIFF files. I'm saving this link.

      --
      C|N>K
    2. Re:Cool program by Anonymous Coward · · Score: 0

      Hopefully PJ will read your post.

      Or maybe she's the original poster. It's the kind of sweet, generous thing she does on a regular basis.

  8. Wow! by Anonymous Coward · · Score: 0

    The most useful /. post in at least a year.

  9. ocr by Suicidal+Teapot · · Score: 1

    Nice, thanks for sharing. Currently we use Acrobat to OCR scanned documents, it seems to work well but doesn't keep up to our high-speed scanners. Having it automated sounds great. How does the speed/accuracy of WatchOCR compare to commercial products?

    1. Re:ocr by IICV · · Score: 1

      Who gives a shit? My cheapass "free" workflow for OCR-ing PDF documents on Windows was basically what's described here. With this, all I need is to run a virtual server on my computer! That's significantly better.

    2. Re:ocr by 0100010001010011 · · Score: 3, Funny

      Now it just needs to incorporate a Recaptcha Lite to improve accuracy.

      Maybe something on the web interface when it doesn't recognize a word you can correct it.

      [Given the success of the Cow Clicker on Facebook, maybe turn it into a facebook game. Tell people they're only allowed to correct words every 6 hours. If they want to correct more words, they'll have to pay for it. Add friends and correct more words to level up!]

    3. Re:ocr by wiredlogic · · Score: 1

      MODI just leaves you with the text pulled out of context. ExactImage's hocr2pdf can merge the OCR'd text back into the original scanned pages to produce a PDF with searchable text and all the original formatting and images.

      --
      I am becoming gerund, destroyer of verbs.
  10. Anyone got error rates? by savanik · · Score: 3, Insightful

    I was looking for something like this last year - it looks like this just got released last month, so I don't feel too bad about not finding it.

    It looks really interesting, but how accurate is it? I've got some old books that are falling apart I'd like to scan in and textify, but I'd like to know how much time I'm going to have to budget ahead of time fixing problems and proofing.

    1. Re:Anyone got error rates? by Anonymous Coward · · Score: 0

      I am also interested in error rates. The last FOSS OCR software I tried was tesseract-based (the google ocr engine) and it was surprisingly bad. I am going to give this a go and see how it compares.

    2. Re:Anyone got error rates? by adavies42 · · Score: 1, Funny

      > tesseract-based

      you need 4d software to scan 2d text? trippy....

      --
      Media that can be recorded and distributed can be recorded and distributed.
      -kfg
    3. Re:Anyone got error rates? by Anonymous Coward · · Score: 0

      That's funny. I found tesseract to be very good when I specified which language I wanted to use (German). My complaint is that it took a whole weekend to get it to output HOCR files from which I could produce searchable PDF-s. In addition, it does not do multi-language documents. If anybody knows a good way to OCR a German/Arabic text, please let me know.

    4. Re:Anyone got error rates? by Taxman415a · · Score: 1

      This is tesseract without training so the error rates are going to be high. It doesn't say if it is specifically using the development version, but if it's not, there is no layout analysis. That doesn't stop you from doing the scanning, and then do the OCR sometime in the future. Consider Diybookscanner.org for a much faster, cheaper, etc. way to scan your books.

  11. commercial? by Paralizer · · Score: 1

    Is there something similar available commercially anyone can recommend? We may end up needing to scan large amounts of pdf's to a shared drive somewhere and need the whole thing to be searchable for keywords, but a requirement for that would be a commercial product that has 24x7 support.

    1. Re:commercial? by Anonymous Coward · · Score: 2, Informative

      After doing a similar search recently, your two major choices are ABBY FineReader (they have Enterprise/Server level editions) or OmniReader (again at the Server/Enterprise level). They're priced pretty closely and have pretty well matched features, plus high accuracy. We're in the process of moving from a solution originally based on Adobe Acrobat's built-in OCR, which is okay but not great. Initial testing with ABBY showed a demonstrably lower error rate on documents from scanned in legal files.

    2. Re:commercial? by ganjadude · · Score: 3, Informative

      there is! I happen to work for a company (shameless plug) called DocuWare. Its document management software that does all of that., we are not in 24/7 we are in 8 AM-8 PM eastern m-f for support (I am the support) at the corporate level, however we sell through a dealer network that provides support on a contract basis (many Toshiba business solutions are resellers for us, I know they are 24X7) www.docuware.com

      --
      have you seen my sig? there are many others like it but none that are the same
    3. Re:commercial? by Anonymous Coward · · Score: 0

      Omtool

    4. Re:commercial? by h4rm0ny · · Score: 0, Offtopic


      You work for the company and you couldn't be bothered making it a proper link? Don't you know that making people have to copy and paste a URL will actually halve the number of referrals? No joke!

      --

      Aide-toi, le Ciel t'aidera - Jeanne D'Arc.
    5. Re:commercial? by h4rr4r · · Score: 1

      Why?
      You like giving away money?

      I suggest you install this on your own machine, find a quote for a "commercial 24x7" support solution, then tell your boss your company does the same thing for 1/2 the price.

    6. Re:commercial? by FelixNZ · · Score: 3, Funny

      Sole support staff's user name in 'ganjadude' I am a little wary :)

    7. Re:commercial? by Anonymous Coward · · Score: 0

      Hi - take a look at EzeScan. It will drive your scanners, extract data from the documents, do the OCR, convert to PDF and drop the results onto a shared drive (or into an EDRMS, Sharepoint etc).

      (Disclaimer - I work for these guys)

    8. Re:commercial? by JuliaNZ · · Score: 1

      Heh, that'll teach me for reading Slashdot on a new laptop without logging in. The EzeScan comment was mine.

    9. Re:commercial? by Anonymous Coward · · Score: 0

      Well, on the plus side, they probably need not fear getting ones' head bit off, should they need tech support. :)

    10. Re:commercial? by Anonymous Coward · · Score: 0

      Some options might be products by Kofax, BrainWare, and Autonomy, who all have OCR available. My company implements a lot of Kofax, and we typically produce full text searchable PDFs as the end result. But we frequently couple that with a powerful (read expensive) search engine, like Autonomy's IDOL

    11. Re:commercial? by Taxman415a · · Score: 1

      All of the major OCR packages will have a Pro version that will have a drop folder server type setup that will do that. OmniPage and FineReader are the standard options with OmniPage being a little more accurate, but if you want to go budget busting (not kidding even a little) for extreme accuracy go for PrimeOCR. They also seem to have the consulting and support services you may want. But for searchable PDFs you don't actually need extreme accuracy, just moderate depending on the task, so perhaps support options can be found for the other packages that meet your needs.

    12. Re:commercial? by ganjadude · · Score: 1

      sorry, should have been more clear, I am not the only person in support, we have a very well rounded team

      --
      have you seen my sig? there are many others like it but none that are the same
  12. Re:Wait a sec by sumdumass · · Score: 1

    I guess that's where

    step 3: ????

    Comes into play.

  13. Wow. by mj01nir · · Score: 1

    If this works well, I have a bunch of use for this. Thank you for the heads-up.

    --
    the no .sig .sig
  14. Ask your vendors by Dynedain · · Score: 0

    Your copier providers probably already include this in the package you have. It just hasn't been enabled.

    Our direct-to-pdf document scanners include copies of Acrobat Pro (both Windows and OSX), automatically do OCR, and were less than $400 each.

    --
    I'm out of my mind right now, but feel free to leave a message.....
    1. Re:Ask your vendors by Anonymous Coward · · Score: 0

      Link, please?

    2. Re:Ask your vendors by Dynedain · · Score: 1

      Quick search result although I think we have slightly older black and white versions.

      --
      I'm out of my mind right now, but feel free to leave a message.....
  15. Middle ground? by DoofusOfDeath · · Score: 1

    Funny, I was just looking for something to do this the other day.

    But isn't there some middle grown betweeen (a) making users do complicated setup work, vs. (b) making an entire OS out of it?

    How about just making a tarball or Ubuntu/Debian/RPM package that installs and sensibly configures those two tools?

  16. Re:Wait a sec by ushering05401 · · Score: 4, Insightful

    Seriously, I'm conflicted. I'm not any sort of web search guru, but it looks like that site just got put up. Is submitter an early adopter (v0.2) or a social engineer?

  17. gs + tesseract by arnott · · Score: 0

    Another opensource option: The pdfs can be converted to tiffs using ghostscript and ocr-ed using tesseract. The current version of tesseract does not have document layout analysis and page segmentation support.

  18. Error rate. by stimpleton · · Score: 1

    I settled on an expensive propriety solution some months ago at work(I am the IT guy, Dishwasher, and Business...something) to do our orgs scan and ocr. Admittedly its end to end including the scanner as well. But $15K and does a good job.

    I did searches online(a dozen hours) and they all funneled back to "FOSS less good, proprietry for best results)

    I am afraid to look at this one, because I did make final decision with pressure from the General Manager.

    I dunno what google uses actually, but their in-house solution(on googe code) would *not* produce good results. No1 in the FOSS tests, but like 6th(by miles) on proprietry comparisons.

    --

    In post Patriot Act America, the library books scan you.
    1. Re:Error rate. by Monkey-Man2000 · · Score: 1

      Well, since this apparently was just put online recently you probably made the right decision. But since there seems to be so much interest in this thread, hopefully it may becomed polished rather quickly for future needs.

      --
      This post was generated by a Cadre of Uber Monkeys for Monkey-Man2000 (603495).
    2. Re:Error rate. by StuartHankins · · Score: 1

      In my role it's always better to be aware and try it out than pretend it doesn't exist. You can't thoroughly research every solution in advance every time. We call it due diligence even after the fact because you might find a better way of doing something and it's always good to have options. If nothing else it may also give you some negotiating room with the proprietary vendor at renewal time.

  19. Okular by Anonymous Coward · · Score: 0

    Okular is a free linux program that can export pdfs to text as well.

    1. Re:Okular by timothyb89 · · Score: 1

      Most normal PDF readers (incl. Okular) only work when the actual text is included in the PDF to begin with. When the source isn't computer-generated but scanned in, there's only image data to work with (no text). Actual OCR is pretty much the only choice in this case...

  20. Stupid by Archangel+Michael · · Score: 2, Insightful

    Most, if not ALL of the documents being scanned into PDF format, are generated on computers already, so why go through the whole OCR process, and not get the actual document from the original source in a PDF version that is already text searchable?

    THIS is exactly the problem with document management and processing today! Doing things the hard way because we can't be bothered changing processes that will save tons of money, be more effective, and accurate.

    I know people who type a document in WORD and then print it to the Copier/scanner/fax device, go pick up the document, put it on the document scanner, scans it to email (PDF) and sends it that way.

    SERIOUSLY???

    --
    Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
    1. Re:Stupid by Big+Boss · · Score: 1

      Just about anyone can read a PDF. If you send a MS Word doc, you have to wonder what version of Word the other person has. And these days, Macs are popular enough that they might not have Word at all! PDF works, and works for everyone. It would be far simpler to print to PDF, but not everyone has a print driver that can do that. ODF is supposed to fix that, but it probably won't.

    2. Re:Stupid by ChronoFish · · Score: 1

      You clearly missed the point.

      -CF

    3. Re:Stupid by Archangel+Michael · · Score: 1

      Print to PDF, ever heard of that?

      OpenOffice Export to PDF, ever heard of that?

      Acrobat Professional, ever heard of that?

      How about copy/paste into email?

      There are plenty of alternatives to take your WORD (or whatever) doc and get it into a searchable PDF without scanning the damn thing into a TIFF and then OCRing it back to text later.

      --
      Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
    4. Re:Stupid by Phoenix+Rising · · Score: 1

      You obviously live in a utopia somewhere. Most of the documents I've seen scanned in to document management may have had their origins on a computer, but they've had signatures, comments, and other stuff penned in by hand, and you can't always get the originals sent to you.

      The poster is addressing a real need, as evidenced by the number of comments proclaiming the usefulness of the post.

      --
      Let us live so that when we come to die, even the undertaker will be sorry -- Mark Twain
    5. Re:Stupid by Bert64 · · Score: 1

      The "print to pdf" function often creates very poor pdf files, a proper pdf export function in the program is a lot better...
      Get a relatively complex document and compare the output from the native pdf export of openoffice and printing to a pdf file.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    6. Re:Stupid by Archangel+Michael · · Score: 1

      All of the "exceptions" you listed (signatures, comments penned by hand) are NOT OCRed, making it text searchable as needed by the ORIGINAL concept.

      Changing processes would solve the need to OCR documents that already exist as searchable text elsewhere. EVEN if you have need to document signatures and other hand written notes.

      It is a real need (searchable text), I never said that it wasn't. I'm just quibbling over the process to attain the goal.

      --
      Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
    7. Re:Stupid by salesgeek · · Score: 1

      What is true for OpenOffice may not, and probably is not true for all applications. CorelDraw, yes, I'm looking at you. That purple is supposed to be blue.

      --
      -- $G
    8. Re:Stupid by 200_success · · Score: 1

      ... and fax machines still exist because some processes require signatures.

    9. Re:Stupid by TheRaven64 · · Score: 1

      No matter how bad the print-to-PDF function is, it's is not going to be worse than the print-to-paper-then-scan-and-OCR function.

      --
      I am TheRaven on Soylent News
    10. Re:Stupid by brasselv · · Score: 1

      That is 100% correct, in theory.

      In the real world, however, process changes in any large organization tend to be slow, expensive, and messy.

      It's often a NECESSITY to look for incremental optimizations and workarounds.

      I saw a situation very similar to the one you are describing. A large organization with 1000+ points of sale, having to snailmail paper documents (i.e. contracts) to the headquarters - everyday.

      Such contracts were produced/printed with a proprietary software solution, in which Cobol (!) code was a major part, plus a bunch of different databases, etc etc.

      The type of thing: "Don't touch ANYTHING or it falls apart...". Despite this, for their needs, it was working pretty ok - wasn’t changed in may be 15 years or more.

      Add to this: (1) old-ish /poorly trained staff, used to the very same UI since forever (2) the necessity to file the paper version anyways, since it carried signatures .

      What do you do? Sure, there are valid arguments to change it all, and start from scratch - web UI / cloud / VPN / insert-your-buzzword.

      But at the end of the day, if you take the total cost, this would easily be a multimillion investment. And cause a lot of glitches in the business. And almost 100% piss off the staff ("I liked the old one better! It was nice and green! And what about this new mouse thingy?")

      While you figure out the ramifications of a total overhaul, in the meanwhile you may still want to file the contracts as PDFs, instead of simply throwing them in a warehouse. And, the "meanwhile" could last years...

      --
      "Whenever people agree with me I always feel I must be wrong." (Oscar Wilde)
  21. better alternatives to pdftohtml by Anonymous Coward · · Score: 0

    While we're on the topic, does anyone know of any PDF to text or HTML (or XML or whatever) converters that will do a good job of preserving the original structure of the information?
    Specifically, I have occasion to deal with PDF documents that contain tables of information -- I don't have any need for OCR (at least, not so far), as the PDFs that I deal with are not scanned documents.

    Most tools will extract the text correctly, and will create documents that will render quite close to the original document in a web browser, but the markup can become extremely difficult to parse.
    Generally, each block of text (table element, say) will be placed inside something like an independently-positioned DIV.

    Things get especially screwy when table elements can contain line breaks (which make some rows span multiple lines) and some elements which are empty.

    So, the text will all be there, but for some PDFs, it becomes a difficult task to parse out the meaning. I tried out a number of free tools and some paid demos, and have settled on PDFTOHTML.
    Does anyone have a better tool that will, at the very least, draw individual lines between table rows? I think what PDFTOHTML does is to create a background image of all the lines on the page. I'd prefer a free/opensource solution, but would be perfectly happy with anything that does the job well.

    thanks.

    1. Re:better alternatives to pdftohtml by petermgreen · · Score: 2, Informative

      Afaict the original structure was already gone when the pdf was made, you can only try to reverese engineer it from the drawing objects.

      You might want to try converting to postscript using ghostscript and then converting to svg using pstoedit. You still won't have the original structure but at least you should have the table shape as a vector drawing rather than a bitmap.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
  22. Re:Stupid*2? by Anonymous Coward · · Score: 0

    Just about anyone can read a PDF. If you send a MS Word doc, you have to wonder what version of Word the other person has. And these days, Macs are popular enough that they might not have Word at all! PDF works, and works for everyone. It would be far simpler to print to PDF, but not everyone has a print driver that can do that. ODF is supposed to fix that, but it probably won't.

    What are you suggesting?, Word 2007 and Open Office (for some versions back now) export to PDF, so why not just do that for sending electronically, and skip the print/scan steps?

    RO

  23. Thanks! by Anonymous Coward · · Score: 0

    Have also been looking for something like this but was using tesseract to create .txt files that they then searched!

  24. Unsuccessful download? by Kiralan · · Score: 1

    I have tried twice to download it, and it 'finishes' at about 150mb both times, while the file size on their web page shows over 600mb. As a double-check, (suspecting a file size reporting error on their page), it fails MD5 sum as well. Has anyone successfully downloaded it?

    --
    V for Vendetta: People should not be afraid of their governments. Governments should be afraid of their people.
    1. Re:Unsuccessful download? by MathiasRav · · Score: 1

      Did you try wget? See what error it reports, or try with wget --continue (shorthand -c).

    2. Re:Unsuccessful download? by Kiralan · · Score: 1

      I had the 'short' download error using the link on the home page, which leads to an FTP-like directory page. I am trying the link in the forums, and it appears to be working. Thanks for the advice, though!

      --
      V for Vendetta: People should not be afraid of their governments. Governments should be afraid of their people.
  25. VirtualBox as the middle ground by daboochmeister · · Score: 1

    I understand what you're saying, but installing the distro in a VM isn't much extra resource/work over a tarball. Plug in your preferred virtualization solution, of course, they all support exporting directories.

    --
    "Ahh! I see you're in that indeterminate Schrodinger state where - oh, uh ... never mind." Dave Bucci
    1. Re:VirtualBox as the middle ground by Anonymous Coward · · Score: 0

      "but installing the distro in a VM isn't much extra resource/work over a tarball."

      what??????

      are you smoking?

    2. Re:VirtualBox as the middle ground by TheRaven64 · · Score: 1

      He's not smoking anything, he's just inhaling the cloud.

      --
      I am TheRaven on Soylent News
  26. Re:Stupid ... maybe by Anonymous Coward · · Score: 1, Insightful

    Not everyone wanting to do this does in fact have access to the electronic source. I know I would like to try it for some my old crumbling books, as someone else mentioned above, no longer in print (or otherwise only available in DRM-encumbered ebook formats that I cannot read on Linux or Windows Mobile).

    RO

  27. Tesseract OCR by TheSync · · Score: 2, Informative

    I found tesseract to work very well to do OCR tasks. Doesn't generate PDF though.

    1. Re:Tesseract OCR by Anonymous Coward · · Score: 0

      If you send its output to http://xplus3.net/2009/04/02/convert-hocr-to-pdf/ it does :)

      convert.py

      #!/usr/bin/python
      import sys
      from HocrConverter import HocrConverter
      hocr = HocrConverter(sys.argv[1])
      hocr.to_pdf(sys.argv[2], sys.argv[3])

      ocrpdf.sh

      #!/bin/bash
      # Run OCR on a multi-page PDF file and create a new pdf with the
      # extracted text in hidden layer. Requires tesseract, hocr2pdf, gs.

      export OCROSCRIPTS=/usr/share/ocropus/scripts

      set -e

      input="$1"
      output="$2"

      tmpdir="$(mktemp -d)"
      pdfimages $input $tmpdir/page

      if [ -f $tmpdir/page-000.ppm ];
      then
              for page in $tmpdir/page-*.ppm
              do
                      base="${page%.ppm}"
                      convert "$page" "$base.png"
              done
      else
              for page in $tmpdir/page-*.pbm
              do
                      base="${page%.pbm}"
                      convert "$page" "$base.png"
              done
      fi

      for page in "$tmpdir"/page-*.png
      do
              base="${page%.png}"
              ocroscript recognize $page > $base.html
              convert.py $base.html $page $base.pdf
      done

      gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$output $tmpdir/*.pdf ............
      rm -rf $tmpdir

      This script is written for the PDF files output by our scanner & fax machine, so your PDF files may not result in PPM or PBM files. Adjust as necessary.

    2. Re:Tesseract OCR by PGC · · Score: 1

      Agreed.

      --
      The Dutch will inherit the earth. If not, we'll settle for a bit of ocean. Beta delenda est!
  28. Our multifunction copier already does that... by Anonymous Coward · · Score: 0

    Although it is a expensive model, but I expect that within a few years this will be a standard feature even in the cheaper models.

    Look around when you replace your existing copiers.

  29. Trojan system? by Anonymous Coward · · Score: 0

    So let me get this straight - there's a new Service on a Disc, that reportedly delivers something cool, that is brand new and working better than anyone has gotten it to work, it's free, and all that's required is that you have to spin it up on a server on your network - no muss no fuss. Oh yeah, and nobody knows what exactly it does.

    Time to update your resume...

  30. Anyone have a mirror or torrent? by rsborg · · Score: 1

    I can't seem to be able to download this file, it keeps giving up after a couple of hundred megs... probably slashdotted.

    --
    Make sure everyone's vote counts: Verified Voting
    1. Re:Anyone have a mirror or torrent? by Anonymous Coward · · Score: 0

      Try using a download manager that supports resuming (wget -c), or download it from our mirror:

      http://mirror.adlibre.net/tmp/watchocr-V0.2-2010-06-28-en.iso

    2. Re:Anyone have a mirror or torrent? by Anonymous Coward · · Score: 0

      Try using a download manager that resumes (wget -c).

      Also put a copy up on our mirror, http://mirror.adlibre.net/tmp/

    3. Re:Anyone have a mirror or torrent? by Anonymous Coward · · Score: 0

      torrent / bittorrent done:

      http://thepiratebay.org/torrent/5713366

  31. Microsoft Files by imscarr · · Score: 1

    Can you go one step further with this and get it read the text (only) out of Microsoft formatted files? Maybe it could even read words out of Word files, Powerpoint, etc.

    --
    Like the beaver, it's just Dam one thing after another
    1. Re:Microsoft Files by Anonymous Coward · · Score: 0

      Can you go one step further with this and get it read the text (only) out of Microsoft formatted files? Maybe it could even read words out of Word files, Powerpoint, etc.

      There is no technical overlap between running OCR on PDF files and extracting text from a Word document. The latter can already be done using antiword.

  32. Let me fix that for you: by skids · · Score: 1

    >> Oh yeah, and nobody knows what exactly it does.

    Oh yeah, and nobody knows what exactly it does with access to all your sensitive documents.

    1. Re:Let me fix that for you: by Anonymous Coward · · Score: 0

      Its open source... Your free to review the code to see what it does exactly with that scanned data. I would trust open source projects more then I would trust that expensive proprietary one. The world will review the code and any fishy code will make news

  33. PDF/OCR software by emaname · · Score: 1

    I haven't tried it yet, but this looks promising. It isn't free, but it also doesn't seem as pricey as Adobe.

    Qoppa Software [ http://www.qoppa.com/index.html ]

    --
    An effective "democracy" creates the illusion the people have a say in their government.
  34. Mirrors? Torrent? by Anonymous Coward · · Score: 0

    The download is quite slow. I guess it would be nice to have alternative download options to try.

  35. exactimage + cuneiform by seyyah · · Score: 1

    I wrote a bash script a few months back which, in a little over 130 lines (it has a few command line options), can convert any old PDF to a text searcheable PDF. I really wonder whether a distro is a bit overkill for this? But it is such an important tool to have that I commend the authors for making it available... I just wish they'd put up the actual script that they used so I could compare it to my own!

    1. Re:exactimage + cuneiform by Anonymous Coward · · Score: 0

      Care to share the source?

    2. Re:exactimage + cuneiform by kilf · · Score: 2, Insightful

      I'd love to see your script, if you want to make it available.

    3. Re:exactimage + cuneiform by tosszyx · · Score: 1

      Is it similar to the one presented in this tutorial ?

    4. Re:exactimage + cuneiform by seyyah · · Score: 1

      Where shall I send it?

    5. Re:exactimage + cuneiform by seyyah · · Score: 1

      That's where I first read about exactimage and how it could be used for OCR. But his script has strange dependencies and produces large PDFs as output. Mine produces smaller PDFs and has dependencies suitable for my personal setup. YMMV!

    6. Re:exactimage + cuneiform by tosszyx · · Score: 1

      Well, it sounds very interesting, as some have commented already, can we take a look at it ?

    7. Re:exactimage + cuneiform by Jorophose · · Score: 1

      can you put it on pastebin maybe?

    8. Re:exactimage + cuneiform by seyyah · · Score: 1

      Feel free to make suggestions: pdfocr.

    9. Re:exactimage + cuneiform by kilf · · Score: 1

      You could attach it to an email and send to kilf@graffiti.net - cheers!

    10. Re:exactimage + cuneiform by seyyah · · Score: 1

      Note: don't use cuneiform 0.9 or 1.0.

  36. Why on server? by Zumbs · · Score: 1

    I must be missing something. Why would you want OCR on a server and not as part of the program that interfaces with the scanner?

    --
    The truth may be out there, but lies are inside your head
    1. Re:Why on server? by joke_dst · · Score: 1

      Because you want an internal infrastructure that allows you to replace the scanner easily. Those thing brake down, or more importantly gets replaced with faster new scanners.

      One of my clients has a scanner farm that scans documents, then the images are sent to a OCR server farm. It's way easier to replace any part if it that way (we're actually trying out a new OCR suite right now so I'll test this one).

      Even if you just have one scanner and does OCR on the same machine, braking it up this way makes it easier for you in the future.

    2. Re:Why on server? by Anonymous Coward · · Score: 1, Insightful

      If you are running a high speed scanner that scans 100ppm/200ipm, the computer would not be able to OCR the pages fast enough to keep up with the scanner throughput. Since you are paying good money for that scanner (and the operator running it), you want to get every possible image through that scanner per day. The OCR can be done after the fact on a server that only needs to be periodically monitored by IT.

    3. Re:Why on server? by stickystyle · · Score: 1

      Because not all scanners are directly plugged into user computers with a software interface.
      I have a large office MFP that scans into network shares and with this little server running I can have it watch that share and fix up my PDF's real nice for the users, rather than installing something on everyones computers.

      --
      Pluralitas non est ponenda sine neccesitate
  37. Cuneiform. by Anonymous Coward · · Score: 0

    I've been looking for a good OCR system for my business! This Cuneiform sounds like just what I need! Well I can't wait to inst-*looks at web page*... erm..... hm....

  38. Re:Wait a sec by somersault · · Score: 1

    Version 0.2 has been out for at least a month by the looks of their forum, and version numbers are a very imprecise way of telling how useful the software is for your needs, or even how stable it is. What's wrong with being an "early adopter" if it's the only working and free solution to your problem?

    --
    which is totally what she said
  39. Ocropus with gscan2pdf by danhs7 · · Score: 1
    I use gscan2pdf for my Linux desktop. I find it's incredibly simple and convenient.
    It just does *everything* I need. It takes scans from scanner, it processes it with OCR, it allows me to delete or insert pages.....it's just very simple and does the job well.

    For OCR, gscan2pdf works with 4 OCR programs currently:
    • GOCR
    • Tesseract
    • Ocropus
    • Cuneiform

    Ocropus is developed with funding/support from Google. It uses tesseract as a backend to do a lot of the work. In simple terms, Ocropus is awesome. I find it does a stellar job at OCR. It's absolutely open source and great software.