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.'"

62 of 209 comments (clear)

  1. More importantly by Anonymous Coward · · Score: 2, Funny

    Does it run on Linux? Does it work for scanning porn?

  2. IMPORTANT QUESTIONS by space_jake · · Score: 2, Funny

    I wonder how ass curvature comes out with that scanner.

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

      The same way as your face.

  3. note to self: by circletimessquare · · Score: 2, Funny

    do NOT sit on the copier machine with pants down at google hq

    --
    intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
  4. 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 Anonymous Coward · · Score: 2, Interesting

      I hate patents as much as anyone else, but:
      1) This isn't so obvious, and requires some fairly complex math
      2) It is pretty complex (in the way it functions), enough that i would actually consider this patent-worthy.

      But, there is some "prior art" of such functions in the visible range for scanning bodies IIRC.

      I believe this was meant to be funny, and i shall accept incoming whooshes of air with joy.
      Have at you.

      note: i still hate patents though.
      I can't see why they would benefit from patenting this method...
      I guess for the usual reasoning behind it, "FIRST!"

    3. Re:Patent!!??!! by aashenfe · · Score: 2, Informative

      Simple, I was trying to be funny. Notice the smiley :)

    4. 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.
    5. 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.

    6. 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.

    7. Re:Patent!!??!! by retchdog · · Score: 2, Funny

      Whoa, "radon transform"? Hold on a second, wiz-kid. Does that use poisonous gas or something? It's certainly not mathematics, because that means stuff like "three times four".

      --
      "They were pure niggers." – Noam Chomsky
    8. 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
    9. Re:Patent!!??!! by retchdog · · Score: 2, Insightful

      I almost feel bad. I know what a radon transform is and I've taken a class on inverse problems.

      My point was just that the common view of what is mathematics is rather anemic and quick to give engineering credit to relatively simple ideas. I suspect that the patent office has similar fallacious thinking.

      --
      "They were pure niggers." – Noam Chomsky
  5. 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.

  6. Patent? Prior Art? by mveloso · · Score: 2, Insightful

    Wasn't this a Sci-Fi movie staple back in the 80s? They used it for body and object scanning, not books...but still.

    1. Re:Patent? Prior Art? by SomeJoel · · Score: 2, Funny

      To read the tattoos.

      --
      <Complete your profile by adding a signature!>
  7. 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.

    2. Re:The New Bell Labs? by mattack2 · · Score: 2, Informative

      I can't find proof in a quick search, but I do remember others posting responses here recently (possibly Anonymous Cowards) to people mentioning the 20% time with things like (paraphrase) "that will be useful for Google". In other words, the implication (or at least my inference) was that while they are technically "non-Google", the intent was that eventually they would be Google projects or the projects would be killed off.

      I have no first hand knowledge of that, however.

      The small paragraph http://en.wikipedia.org/wiki/Google#Innovation_Time_Off is interesting, and says (with a citation)

      In a talk at Stanford University, Marissa Mayer, Google's Vice President of Search Products and User Experience, stated that her analysis showed that half of the new product launches originated from the 20% time.

  8. 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.

    2. Re:Mostest importanly... by Bob+Wehadababyitsabo · · Score: 2, Informative

      There are automatic page turning machines that use puffs of air and a stylus to move through a book.

      --
      fsck -u
  9. 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
  10. Isn't that all known? by Toonol · · Score: 2, Insightful

    The technique is old, many years old. What is google's patent for? The use of a decades-old technique ON BOOKS?

    1. 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.

  11. 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)...

  12. 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.
  13. Butt what about... by radiumhahn · · Score: 2, Funny

    Imagine what this technology could do for coworkers who like to photocopy their butts!

    1. 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.
    2. Re:Butt what about... by K.+S.+Kyosuke · · Score: 2, Funny

      That would be "bum mapping", obviously.

      --
      Ezekiel 23:20
  14. 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.

  15. 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)
  16. 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.

  17. 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.

    1. Re:Why is this a big deal? by BitZtream · · Score: 2, Insightful

      No one said its a big deal, its simply a 'neat' way to accomplish the goal. As geeks we are generally interested in these neat ideas.

      No one said Google was evil for patenting it.

      No one said Google now has a monopoly on book scanning.

      No one really said anything other than 'this is how they do it' and we all said 'neat'.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
  18. Re:progress by Chyeld · · Score: 2, Interesting

    Only if Google refused to license it. Google isn't Microsoft or Intel; I doubt they'd go that route.

    In fact, since Google has paid for the innovation of this tech, including the R&D for it, patenting it and then allowing companies to license it reduces the barrier since companies that couldn't have paid for the research now have the technique available to them.

  19. 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.

  20. 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!

  21. 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.

  22. 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.

  23. 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.

  24. Re:Why? by AndrewNeo · · Score: 2, Insightful

    I really don't think the libraries that Google was scanning at would have appreciated that too much..

  25. That reminds me (off topic) by DCstewieG · · Score: 2

    Totally off topic here but I'll risk it.

    It really bothers me that neither Rock Band nor Guitar Hero can auto-calibrate the audio lag using the microphone. There's absolutely no reason I can see that they can't "listen" for the calibration beeps with the mic to get a perfect reading.

    1. Re:That reminds me (off topic) by Anonymous Coward · · Score: 2, Informative

      Uhhh doesn't Rock Band 2 do that with a miniature microphone (and light sensor) built into the revised guitar?

  26. 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.

  27. 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
  28. But can they remove finger-scans and hand-scans? by waterbear · · Score: 2, Interesting

    De-warping sounds useful, but there are problems that it probably won't solve --

    Like the operator who scans a book page with his/her fingers or hand stuck between the page and the scanner-glass. For example, the dreaded 'New York Hand' or its fingers can be seen occupying the place of part of the text or figures on many pages of books scanned for Google-Books from the New York Public Library. On some pages, the impression of the fingers is clear enough to show the rings worn by the Hand that was doing the scanning. :(

    It will take more than a de-warping patent to solve that one .....

    -wb-

  29. 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.

  30. Re:Obvious question... by trb · · Score: 2, Interesting
  31. Wood chipper? by mkcmkc · · Score: 2, Funny

    This is way better than my idea, which was to throw the book into a wood chipper, scan the results, and then algorithmically reassemble them...

    --
    "Not an actor, but he plays one on TV."
  32. 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.

  33. Re:Playing Catch-up by Pinky's+Brain · · Score: 2, Informative

    Really? Structured light to find 3D geometry is old hat ... the optical and signal processing part of book scanning seem pretty easy, making the mechanical part for page flipping robust seems a lot harder to me.

  34. 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.

  35. Re:Playing Catch-up by jwhitener · · Score: 2, Funny

    If you were a rare book expert during the turn of the century, why isn't your slashdot ID smaller?

    ;

  36. 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.

  37. OCR by 12357bd · · Score: 2, Interesting

    Google should return to the open source community a decent OCR app+engine. Tesserac+ocropus are just too little, and it's already too late.

    Windows already has decent ocr habilities, any hp scanner comes with decent image to page-document sofware. It's a shame that google, that has been build upon open source and has maybe the best ocr technology in the world, hasn't returned a competitive and free ocr solution for Linux.

    --
    What's in a sig?
  38. Re:Google Scan My One-Of Book by troll8901 · · Score: 2, Funny

    I think OP meant the book was 200 years old.

    Of course if OP is over 200 years old, we'd have to ask: What the heck is he doing fishing all the time??