Slashdot Mirror


How Google's High Speed Book Scanner De-Warps Pages

Hugh Pickens writes "Patent 7,508,978, awarded to Google, shows how the company has already managed to scan more than 7 million books. Google's system uses two cameras and infrared light to automatically correct for the curvature of pages in a book. By constructing a 3D model of each page and then 'de-warping' it afterward, Google can present flat-looking pages online without having to slice books up or mash them onto a flatbed scanner. Stephen Shankland writes that the 'sophistication of the technology illustrates that would-be competitors who want to feature their own digitized libraries won't have a trivial time catching up to Google.' First, a book is placed on a flat surface, while above it, an infrared projector displays a special mazelike pattern onto the pages. Next, two infrared cameras photograph the infrared pattern from different perspectives. 'The images can be stereoscopically combined, using known stereoscopic techniques, to obtain a three-dimensional mapping of the pattern,' according to the patent. 'The pattern falls on the surface of (the) book, causing the three-dimensional mapping of the pattern to correspond to the three-dimensional surface of the page of the book.'"

36 of 209 comments (clear)

  1. Patent!!??!! by aashenfe · · Score: 5, Funny

    When is the patent office going to quit giving patents for obvious techniques? :)

    1. Re:Patent!!??!! by sopssa · · Score: 3, Funny

      So why didnt you do or patent it before?

    2. Re:Patent!!??!! by Dewin · · Score: 5, Informative

      I believe the pattern barcode scanners use is simply trying to look for the barcode in several different directions, but I could be wrong.

      I also believe there's either rudimentary correction for common types of distortion (i.e. on cylindrical objects) or just wide enough tolerances to allow it to work anyways.

      --
      Of course nobody reads the FAQ! If people read the FAQ, the Questions wouldn't be so Frequently Asked.
    3. Re:Patent!!??!! by profplump · · Score: 3, Informative

      It's just wide tolerances. The whole UPC-scanning system was designed so that the output from the light return sensor could be read directly (ignoring some minor gain control/etc.) as a digital data stream, with the clock rate determined by the horizontal scan rate. There's no reason to do distortion correction because it's not reading an image in the first place, it's just reading a series of high/low signal returns as serial data. I'm sure you could build a more complicated system to does 2-D or 3-D imaging and distortion correction, but it's way more work than is necessary to read a linear UPC.

    4. Re:Patent!!??!! by Timmmm · · Score: 4, Informative

      You jest, but this technique *has* been around for years. I remember when digital cameras first became available there was a product that could perform a 3D scan by projecting a pattern onto the object and using an offset picture. I think the pattern came on a slide - that's how long ago it was! Here's a whole wikipedia page about the scanning technique: http://en.wikipedia.org/wiki/Structured_Light_3D_Scanner

      This picture is especially good: http://en.wikipedia.org/wiki/File:6-seat.jpg

      Anyway after reading the patent abstract, it isn't about the 3D scanning at all, it appears to be about an algorithm to find the fold once you've already got the point cloud. I would have thought that was fairly trivial. A possible approach would be to take the radon transform of the height map and find the smallest value that's roughly in the middle.

    5. Re:Patent!!??!! by petermgreen · · Score: 3, Informative

      It certainly is mathematics and it's not that hard to understand either. basically it is the mathematical equivilent of what a hard field tomograph does.

      Consider a function of two values and consider those values to be 2D coordinates. Consider also that the function is zero outside of a defined area.

      Now consider that there are an infiniate number infinitely long number of straight lines passing through that area and each can be defined by two parameters, an angle and an offset from the orgin in the direction perpendicular to the line.

      Along each of those lines an integral can be calculated. those integrals form the radon transform of the function (with each integral being identified by the two parameters).

      Not really that complicated, the trickiest bit is probablly deciding how best to approximate the line integrals from your limited number of data points.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
  2. So... by fuzzyfuzzyfungus · · Score: 5, Interesting

    How long before some particularly vengeful luddite publisher starts printing on treated paper stock that has an IR visible pattern, calculated to confuse these scanners, printed on it?

    They've been making "anti-copy paper" designed to defeat optical scanning for years now, surely something similar in the IR band could be effected...

    1. Re:So... by Anonymous Coward · · Score: 3, Insightful

      Maybe those books are less important to commit to a digital scan ;-)

    2. Re:So... by twistedsymphony · · Score: 4, Insightful

      they could probably do it in the visible spectrum as well, it would just take twice as long because they can't map and scan at the same time.

      Failing that there are alternative methods that might work as well.

    3. Re:So... by fuzzyfuzzyfungus · · Score: 3, Interesting

      I have to hope that any publisher hip enough to read Slashdot for tech advice(rather than relying on glossy advertisements from "security" vendors in the latest issue of Monetizing The Everloving Fuck Out of Your Precious, Precious IP magazine) wouldn't do anything that stupid. I wouldn't bet on it, though.

      With respect to the foolishness over "copy protection" it is interesting to consider the possible application of the old line "the worse, the better." The idea is that, in order for a bad situation to change, it must get worse, so that the cost of tolerating it becomes unbearably high. As long as DRM and anti-copy paper, and macrovision and all the others cause relatively limited customer displeasure and support calls, there will be little incentive to change, and things will remain as they are. If you can drive the content guys to ever more intrusive measures, things might actually get bad enough to spur a blowback.

  3. Re:IMPORTANT QUESTIONS by Anonymous Coward · · Score: 4, Funny

    The same way as your face.

  4. The New Bell Labs? by ObsessiveMathsFreak · · Score: 4, Interesting

    I've read many comments over the years about the old Bell Labs and how a huge amount of pioneering research came out of them over the course of their existance, i.e. before they got axed.

    It would seem that Google Labs is performing somewhat the same function, albeit more oriented towards software rather than physical research.

    --
    May the Maths Be with you!
    1. Re:The New Bell Labs? by Anonymous Coward · · Score: 3, Interesting

      Bell Labs did basic research that most of the time didn't have any current commercial applications and maybe never will.

      Google's all have current commercial applications. I don't know of anything they do that is for pure research and to add to humanities knowledge.

      Doesn't Google have something called the 20% policy or something like that? Where Google engineers devote 20% of their time to non-Google projects?

      Not exactly basic research, but not necessarily commercial applications.

      The closure of Bell Labs is one of the tragedies of the 20th century.

  5. Mostest importanly... by Anonymous Coward · · Score: 4, Interesting

    ...who's flipping the pages?

    1. Re:Mostest importanly... by Anonymous Coward · · Score: 3, Funny

      I heard from some guy, somewhere, that on weekends the Oompa Loompas do it.

  6. Re:Playing Catch-up by jsnipy · · Score: 5, Insightful

    but to be honest this is at least worthy patent

    --
    -- if you mod me down, I will become more powerful than you can possibly imagine
  7. What are the chances... by Shaterri · · Score: 4, Interesting

    ...that Google licenses this to scanner manufacturers and we see this at a consumer level at some point in the future? I know I'd pay good money for a book scanner that doesn't need to have a 'book edge' (which you already have to pay through the nose for)...

  8. Re:Obvious question... by Captain+Spam · · Score: 4, Funny

    That's cool and all that, but who (or what) flips the pages?

    Interns.

    --
    Demanding constant attention will only lead to attention.
  9. Re:Unnecessary? by MaWeiTao · · Score: 3, Interesting

    Pages lie different from the front to the back of the book, and books are bound differently. So you can't use a generic model and expect it to be accurate in most cases.

    I actually think this is really cool because it seems to account for any scenario, including folded pages, I would assume. Although, I suppose that in extreme bends it might not be perfect, but certainly they just need to ensure that pages are adequately flat. It automates the entire process.

    I wonder if they've built an automated page-turning mechanism; I would assume they have. Just drop in a book and let the machine go to town on it.

  10. Re:Why? by vertinox · · Score: 3, Insightful

    Ok, is it just me, but wouldn't it be easier to just cut the spine off the book instead of developing a whole new way of scanning it?

    With 7 million books, the manpower and time saved for them to cut the spine off would be worth it.

    Also, they can resell the books if needed or give them charity after they are done.

    Kind of would be a waste of a paper to tear that many books apart.

    --
    "I am the king of the Romans, and am superior to rules of grammar!"
    -Sigismund, Holy Roman Emperor (1368-1437)
  11. Re:Playing Catch-up by fuzzyfuzzyfungus · · Score: 4, Informative

    Obviously it was worthy enough to be issued; but I don't know how worthy it is in the broader sense.

    Notably, for instance, there has been a fair bit of interest, for some years, in using digital cameras in concert with projectors, either for automatic keystone/distortion correction, for projectors that aren't perfectly aligned with the projection surface, or for automatic coordination of multiple projectors illuminating the same surface, without laborious manual tiling adjustment. This is, in essence, an equivalent problem(inferring a surface's geometry based on pictures of a known image projected upon it).

    The IEEE has held "Projector-Camera systems" workshops since 2003, and somebody was obviously working on it before that. I'm not saying that Google's patent falls into asshole troll territory or anything; but the notion of doing surface geometry inference based on known image projection isn't nearly as novel as it might seem.

  12. Why is this a big deal? by MBoffin · · Score: 4, Insightful

    I don't see why this is such a showstopper for other book scanning projects. Right off the top of my head I can think of three methods of dewarping book scans that have nothing do to with Google's methods. While Google's method is definitely quite interesting and seems like a great solution, it is by no means whatsoever the only way of accomplishing this.

  13. Re:Playing Catch-up by poetmatt · · Score: 3, Insightful

    This may be a projector thing, but they are doing something of physical manipulation. It would be pretty much appropriate to be patented. The whole thing is physically transformative. Meanwhile, if someone made their own version using something different, it too, would be patentable/improvement patent, which is how the patent system is supposed to work.

    To be clear, I'm saying the system as a whole should be patentable (infrared), but not the software used to decode it.

  14. You laugh, but look at this by langelgjm · · Score: 5, Interesting

    That's modded funny, but take a look at this.

    Maybe they use automated page turning machines for normal books, and turn pages by hand for older/more fragile works?

    --
    "Anyone who [rips a CD] is probably engaging in copyright infringement." - David O. Carson
    1. Re:You laugh, but look at this by StikyPad · · Score: 4, Funny

      Now THAT'S a page turner.

      Ba dum dum. Thanks, I'll be here all week! Try the veal, and don't forget to tip your waitress!

  15. Re:Obvious question... by ebingo · · Score: 3, Informative

    There are scanners that flip pages themselves like this one: http://www.youtube.com/watch?v=UyB5c3S4vzc&feature=related but I've seen somewhere (can't remember where though) a video of a scanner that was faster and didn't use vacuum to flip pages. It was quite a lot less noisy.

  16. Re:Playing Catch-up by ushering05401 · · Score: 5, Interesting

    Word.

    I was involved in evaluating rare books back around the turn of the century.

    I can personally attest that representatives of online book search companies were attempting to buy up one of a kind pieces for destructive scanning.

    There was one dealer in possession of a somewhat flawed, but well examined Shakespeare folio that had to put the kabosh on a reputation making deal because he found out the buyer was going to slice the piece out of its binding for scanning.

    I turned down a much smaller offer on a much less significant, but still very cool, two hundred year old angler's guide (with hand colored plates and original binding) for the same reason.

    Quality scans without destruction can only help raise the profile of rare books and the value they offer society - not simply for their content, but as tangible examples of the evolution of the art of communication.

  17. cool, but not patent-worthy by Chirs · · Score: 3, Insightful

    This is useful and interesting, but doesn't seem particularly novel.

    Projecting a known pattern onto a surface or using multiple cameras to determine the shape of a surface have been around for quite a while, so adding it to an OCR system doesn't seem like a big deal.

  18. Re:Butt what about... by DRACO- · · Score: 4, Funny

    Is this what the graphics department is talking about bump mapping?

    Karma burn.

    --
    Consider yourself blessed if you are sneezed on by a dragon and only get wet, it could have been a fireball.
  19. Re:Why? by ChaosDiscord · · Score: 4, Informative

    Google is mostly scanning books borrowed from university libraries. Librarians get cranky if you borrow a book and return a stack of loose sheets of paper.

  20. Re:As a writer, I did not give my permission to co by geekoid · · Score: 3, Interesting

    Cough, you don't ahve to. I can copy your book all gad damn day long and have not violated your rights or the copyright code.
    The moment I try to distribute them, then it's a copyright violation.

    It's called copyright, because the only reason one would copy it was to distribute it.
    Backup really wasn't an issue then like it is now.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  21. Re:Playing Catch-up by BikeHelmet · · Score: 4, Funny

    This is actually what I envisioned for a book scanner, years ago.

    But unlike Google, I...

    1) Never built it.
    2) Am not facing lawsuits from overzealous sue-happy publishers.

    Seems like a good defensive patent to have.

  22. Re:Playing Catch-up by Anonymous Coward · · Score: 5, Interesting

    This trick has been used for 20 years in astronomy. You shine a really powerful laser of known metrics into the sky and measure the atmospheric distortion suffered by the beam.

    Then you take those numbers and calculate what it would take to even out the beam, and you feed THAT set of numbers to a telescope with adaptive optics which will then correct for the atmospheric distortion. Bingo, suddenly your telescope is able to take sharp images without having the air screw it up.

    The technique is very effective and results in ground-based telescopes that rival anything the Hubble can do. Plus they are easier to fix.

    I want to say this is called Guidestar but I am not sure.

    Anyway the similarity to Google's process is simply that you shine a light or image of known value on something unknown and look at how the image now deviates from what you expect. A little math and suddenly you know exactly the shape of the unknown object. Brilliant.

  23. Re:Isn't that all known? by Toonol · · Score: 3, Interesting

    "Looker."

    Building 3d computer models by stereoscopic analysis of project light patterns is at least twenty years old. In fact it mentions in the summary that it they use an established technique.

    As for your second comment... that's kind of my point. Since the technique is not new, the equipment is not new, what did google do that was new? Perhaps there is some actual invention in the process somewhere; but I don't have enough faith in the patent process to unquestioningly ASSUME that there is.

  24. Re:As a writer, I did not give my permission to co by The+Empiricist · · Score: 3, Informative

    Cough, you don't ahve to. I can copy your book all gad damn day long and have not violated your rights or the copyright code.
    The moment I try to distribute them, then it's a copyright violation.

    Be sure to check out the exclusive rights in copyrighted works before making blanket assertions on what is and is not legal under copyright law. The exclusive rights granted by copyright include both reproduction and distribution. There are lots of exceptions to these exclusive rights, but an interpretation that completely eviscerates the exclusive right to reproduce a work is not supported by the Copyright Act.

  25. Re:Playing Catch-up by tomz16 · · Score: 4, Informative

    It's simply called adaptive optics (AO). In AO, a guidestar is a natural isolated point-like star that is close to your science object (what you are trying to look at). If a laser is used to excite the sodium layer to create an artificial reference, it's called a "laser guidestar".

    Anyway, this "trick" is completely different from adaptive optics in both the mathematics and implementation.