Accurate OCR?
theBrownfury asks: "I work at a lab on a university campus that provides services for disabled students. One of the main functions of this lab is to convert printed materials such as books, reading packets, etc. into electronic text(RTF or Word) that is either going to be fed to a text-to-speech synthesizer or going to be further processed for use in braille devices. Ideally we'd like to be able to process 1000 pages a week. However our current solution (a Bell&Howell 4040D scanner coupled to a mid-level PC workstation with OmniPage Pro 11 and 2-3 proofing stations) is limited to an average of 10-11 (16 on a good day) pages per hour because of the constant hand holding the OCR process requires. We've already made sure we're feeding the OCR engine good quality scans. Also it should be clarified that the variety of materials we deal with is so varied that a majority of it cannot be defined by any types of 'general' scanning or OCR templates."
"Do any of you know of a solution which can exploit our current scanner, which we're rather happy with, but bring in a better OCR method to improve our efficiency? It should be noted that the solution should be financially reasonable (as ni less than US$10K).
Our biggest bottlenecks:
- software's terrific inability to accurately pick up the areas of text on the scanned page to OCR
- marking words as possibly erroneous without checking against dictionary elongating the proofing process
- stability of OCR software
Bonuses:
- dealing with multiple languages such as Spanish and French
- capability to OCR matematical texts and papers. Currently we hand type math textbooks for students."
for those students that require large-print - why not just give them a decent magnifying lens?
I've heard that often times it is cheaper to send the material to a data entry company (which uses over-seas labour) than it is to use OCR software, since you have to spend so much time correcting proofreading. I've always thought that Omnipage was one of the most accurate packages out there, so since that's what you already use, I don't think your gonna get much better. Of course, it's been several years since I've worked with any ocr, that the state of the art may have changed since then.
Perfect or near-perfect OCR is one of the holy grails of information technology. Various companies are therefore constantly coming up with the "next big thing" and applying the latest buzzwords to the problem. I can remember when perfect OCR was just around the corner due to "fuzzy logic", then it was just around the corner due to "neural nets", then it was coming soon because of "heuristic analysis", then ... ad infinitum, ad nauseum.
I don't think we'll ever have near-perfect OCR. 90% is as good as it gets.
--
Twoflower
reading packets, etc. into electronic text(RTF or Word) that is either going to be fed to a text-to-speech synthesizer or going to be further processed for use in braille devices.
- capability to OCR matematical texts and papers. Currently we hand type math textbooks for students."
I pity the kids who are going to have to listen to "fluid dynamics on tape":
"Partial rho partial t plus rho times left parenthesis partial u partial x plus partial v partial y plus partial w partial z right parenthesis equals zero".GMD
watch this
Perhaps some research into the US Postal Service OCR developers would be useful. Their systems are obviously huge, well funded, and exceptionally accurate considering the volume of mail. I don't know how they maintain it, if its an internal group, or a contract with external developers, but whoever has it, has got a good thing.
For longer texts, it might be worth it to call the publisher and ask if they have an electronic version available. Why reinvent the wheel if you don't have to?
Another solution might be stretching your budget by doing your proof-reading offshore.
Hmmm...this is one of those rarities that a response hasn't said "Did you do a search on Google?"
-- ladies and gentlemen we are floating in space!
--
"Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
Most OCR systems can only give you 98% accurcy, but we've foung that by running the output through cmdr_taco's spelling and gramer checker, that the accurcy is bumped up to 100%.
Just like this post!
Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.
In regards to accuracy: I've tested and compared OmniPage Pro to Abby FineReader and Abby is much, much better at text recognition. It doesn't offer as many export formats as OmniPage Pro does, but it does include an SDK, so if you can get your hands on some programmers you might be able to fiddle with it some. Abby is definitely a step up from OmniPage.
I'm pretty sure that Abby FineReader has language modules, so you can scan works in many languages.
Karma: Chevy Kavalierma.
OpenBook Ruby from Freedom Scientific has served us pretty well. It's a combo scanner/screen reader program. We have it set up for use on a public workstation and it's very accurate. We're still using the 4.0 version, but it appears to be up to version 6.0 now (with built in scan to MP3 conversion!)
one would imagine that recognizing much more readable printed words would be easier than my inconsistent and messy handwriting.
However, with handwriting on a pda screen, the software gets additional information the order of the strokes. For instance, if you always write one letter clockwise and another counterclockwise, the software can use that to help distinguish the letters. Print can't do that.
Will I retire or break 10K?
with built in scan to MP3 conversion!
Do you mean through text-to-speech, or through bitmap-to-Aphex-Twin's-face?
Yes, I know it's the former, but I was making a joke.Will I retire or break 10K?
Why not ask Google how they do it?
They've got a number of image-based paper catalogs online and searchable, and thus OCR'd.
Talk about varied formatting. It seems to be reasonably accurate, and I'm sure that the pocess is pretty streamlined -- everything else they do seems to be...
Here is an example.
Kid-proof tablet..
Clara OCR, though developed for *nix, is a decent OCR program. You should try it. We've used it to OCR old inventory sheets (some handwritten) with fairly accurate results. It now has Win32 binaries available, too. Here is their homepage.
Is anyone not turning hard-working americans into tax slaves?
illegitimii non ingravare
you will do yourself and your lab a big favor if you choose RTF. RTF is documented, so you do not lock yourself with a single vendor (microsoft) for further processing of the electronic data. It may not matter now, but it could be very important for you guys at some point in future ...
I actually use gocr with great success. It doesn't have a user interface; strinctly command-line, but it works well.
I once had to recover a lost book manuscript from old printouts. The hard drive had crashed. After severer iterations I found a good combination and proper settings.
The scanner I used is a $99 scanner that is several years old, Canon CanoScan FB620P.
I am very impressed with it. For OCR I used Xerox TextBridge Pro, the interface it awkward, but the OCR part it works. The biggest problem was the way the windows twain drivers were setup such that I had to go through several windows and mouse clicks to scan, and finish scanning.
I can do over 30 pages per Hour, I get about 99.8% on clean copy, the trick was to use a gray scale scan or text mode, Also I scan at 300 DPI , I find it's important to give the OCR as much info as possible to work from.
You still want to run this past a human proofreader, but overall I am very impressed with the setup and it's results.
I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso
You misspelled grammar.
I started a small document scanning service a few years ago. (I am no longer in that business). The biggest issue in OCR accuracy is pre-process. (in particular de-skew and grayscale removal). If the page is skewed even a couple of degrees OCR will fail miserably. I have had superb results using TMSSequoia Scanfix software which automatically cleans-up and straightens the page nicely. Its expensive but worth-it if you have a lot to scan. I believe that they still have a demo available.
My experience has been that the consumer OCR software is considerably MORE accurate than industrial versions that cost 20X as much. I obtained excellent OCR accuracy using Scansoft's Textbridge software which utilized the Xerox Textbridge engine. Scansoft appears to have purchased Omnipage OCR and discontinued the Textbridge OCR line. I found that I achieved much higher accuracy with Textbridge then with Omnipage after the document was processed by Scanfix. Textbridge did not have some of the features of Omnipage but Textbridge was faster and better at OCR. I would definately download the Textbridge 98 demo that is still floating around on the web.
Both Textbridge and Omnipage OCR were vastly superior to anything else I previewed, including Adobe's OCR engine. OCR can be surprisingly accurate but the source image needs to be free of distortion. Sometimes you will need to break up the page into several using photo-editing software since no OCR can inteterpret the structure of a document very well.
I suspect that you will be better off just typing in the mathematics in by hand. Maybe a visual LATEX editor like Scientific Workplace would be helpful. The LATEX output could be manipulated using a parser to put the equations into the simpler forms that you need while keeping the raw equation in a form that could be used for other purposes later on.
Honesty, 10pgs/hour is pretty good so it doesn't sound like you are doing all that much touch-up. I suspect that using Scanfix will provide the greatest boost in productivity.
They use several engines and vote on the best. Care FineReader Typereader etc.. 6 or 8 of them. The results are very nice. The package is expensive. It is pretty programmer friendly. If you ask nice and give them some cash and they'll get you a demo. You usually talk to the owner over there too which is cool. The products are simple and pretty neat. Their verifier is well designed too. I don't work for them but a while back demo'd their suite. impressive (crashed on occasion but what ocr pack doesn't.) If you get prime though, overclock like heck. They charged a lot extra per processor last i chekced. --erics
Firefox &
I first delved into the world of OCR back in 98 with this product and havn't turned back. The current version is made by scansoft (the same makers as OmniPage), this product is much better. Even PCWorld has a review of it (March 2000).
It achieves 98% accuracy on typed text and can handle graphics, bullets and tables. These were big plusses for me. I still use the 98 version and have very few complaints. Dirty pages can be a problem, but it has frequently amazed me in how it catches characters in the midst of goop.
the trick was to use a gray scale scan or text mode, Also I scan at 300 DPI , I find it's important to give the OCR as much info as possible to work from.
I agree. The right settings are very important. I recommend some serious tweaking before you get to hard and heavy with it. For plain text, the above works great, although I sometimes prefer 150dpi. For anything with tables and graphics, 300dpi is a must. A good scanner can make a big difference too. My work uses network ready scanners that copy the file to a network share and the software picks up the files automatically. Very efficient.
ASCII tastes bad dude.
Binary it is then.
...or no decent OCR, anyway. There are a couple of abandoned useless research projects.
Kind of surprising.
May we never see th
Why not use some of the money and resources to further GOCR? Hell, you could probably even convince the CS department to make it an assignment to send a patch or implement a new feature into the app.
Everytime you look at porn a devil gets their horns.
I've been working off and on with OCR packages since 1991, and have seen little improvement in the accuracy over that time. 98% or 99% accuracy sounds great; but, as you already know, you have to have someone go over the entire text and check it. If you consider that you don't know where the errors are likely to be, then you begin to realize the extent of the issue. I have generally found that, in cases where 100% accuracy is necessary (and there are some cases where 99% might be good enough), it's just as cost-effective to use a professional typing service.
The scanner you have is hard to beat. As for the software, I found that the Caere engine was a little better than the OmniPage engine when I first started working with OCR, but over time OmniPage has gotten that little bit extra oomph into it.
Having said that, there are some posts that recommend Abby, a product with which I'm unfamiliar, and state that a trial version is available, so it's probably worth a check.
Finally, one small factor that sometimes is overlooked: what resolution do you scan at? You may want to try lowering the resolution and seeing if that gives any better results. Lowering the resolution can have the effect of smoothing out some of the noise that can confuse OCR engines. Try going all the way down to 200 dpi.
Finally (part two), I've found you can also sometimes tweak the results by playing with the depth -- instead of scanning in b&w, try gray scale (I suggest 4 bit).
Finally (part three), I'm dubious that you'll find anything to handle formulae. For those readers who may be surprised to learn OCR accuracy is not quite up to scratch, just wait until you encounter OCR format preservation.
Good luck -- and if you do get better results, by all means let us all know!
Cheers
Well, in the best traditions of UNIX software, the gocr authors decided to keep the user interface and the actual OCR code separate. Sensible.
Actually it comes with Tcl/Tk (gocr.tcl) and GTK+ (gtk-gocr) frontends. My personal favourite, though, is the KDE scanning program, Kooka, which includes support for gocr amongst its many very useful talents.
I work in the speech recognition field and work with the researchers at BBN alot (they might sound familiar, can you say @ sign inventors) and they are always bragging about their OCR, especially for foriegn languages. They have a very different approach to OCR (they dont do Character recognition at all, rather word recognition) and thus their accuracy is very very high. Plus they are government funded for this sort of thing (can you say NSA?) I would recommend contacting them directly, not just through the website, as you are an educational institution they will probably price a very good deal with you.
Good Luck.
Be careful about contacting the publishers. They may decide that they could cash in on this and try to hassle you for unauthorized copying of their work. Sounds evil, I know, but you know lawyers. Often the best bet is to stay under the radar.
IAAL, just not a very good one so get a good one's advice.
Where do you get *your* entropy?
Get 2 different OCR-engine programs
Scan the same text in - to plain text - with program 1, scan it in to a second plain-text file with OCR program 2, and 'diff' 'em, ignoring white-space.
That means the indifidual person running the scanning doesn't have anywhere near the amount of work to do.
Small erors may get through, but it is drastically fast, in comparison with the way it normally is done, eh?
Messages to/for me ( in me journal )