Daniel Reetz, the founder of the DIY Book Scanner community, has recently started making videos of prototyping and shop tips. If you are tinkering with a book scanner (or any other project) in your home shop, these tips will come in handy. https://www.youtube.com/channel/UCn0gq8 ... g_8K1nfInQ

Methods To Sense The 3D Surface/Structure Of A Book

DIY Book Scanner Skunk Works. Share your crazy ideas and novel approaches. Home of the "3D structure of a book" thread.
Shaknum
Posts: 91
Joined: 16 Aug 2010, 13:10

Re: Methods To Sense The 3D Surface/Structure Of A Book

Post by Shaknum » 21 May 2011, 13:49

I can certainly understand the imposition of life. I too have been doing just the bare minimum of improvements with my book scanner lately, I've got bills to pay and comps to take...

eslavko
Posts: 5
Joined: 13 Apr 2011, 12:44

Re: Methods To Sense The 3D Surface/Structure Of A Book

Post by eslavko » 16 Aug 2011, 08:55

Hi..

I just wonder if there is possibility to get height from two cameras. Ie to take stereo photo of same page with 2 cameras and then calculate height from image's diferencies. The angle betwen camera is known (or paralel). Can be that used to 'dewarp' paper?

User avatar
daniel_reetz
Posts: 2776
Joined: 03 Jun 2009, 13:56
E-book readers owned: Used to have a PRS-500
Number of books owned: 600
Country: United States
Contact:

Re: Methods To Sense The 3D Surface/Structure Of A Book

Post by daniel_reetz » 16 Aug 2011, 10:28

Yes, you can use stereo depth to dewarp a book, but unless each page has a lot of features to match, it can be tough because you'll have to recalibrate for every book. Most vision-based dewarping methods fail because there isn't consistently tons of text on each page.

Said more comprehensibly, to determine depth from stereo you need to be able to match a point in image A with a point in image B, and text can be those points. Without text, the dewarping will fail.

eslavko
Posts: 5
Joined: 13 Apr 2011, 12:44

Re: Methods To Sense The 3D Surface/Structure Of A Book

Post by eslavko » 16 Aug 2011, 11:36

so empty pages will fail but loaded one not. This is not so bad.

mazaheris

Re: Methods To Sense The 3D Surface/Structure Of A Book

Post by mazaheris » 05 Jan 2012, 00:12

daniel_reetz wrote:The laser diode, mounted with zip ties, and shining on my hand. These are focusable diodes - the beam can be made to be very sharp, and it's bright enough to be usable. I'm impressed that they only cost $3 and I'm going to order a dozen more.
Daniel, could you please tell us where we can buy laser diodes like that? Are they available from any online shopping site? I have found some, but their price are really high, and I'm not sure about their performance too.

Thank you.

User avatar
daniel_reetz
Posts: 2776
Joined: 03 Jun 2009, 13:56
E-book readers owned: Used to have a PRS-500
Number of books owned: 600
Country: United States
Contact:

Re: Methods To Sense The 3D Surface/Structure Of A Book

Post by daniel_reetz » 05 Jan 2012, 00:44

Yep, sure - I bought the red ones at DealExtreme, they were great quality:

http://www.dealextreme.com/p/red-laser- ... m-5mw-5928

They no longer have the green modules listed... but in general I have had good luck buying from DealExtreme, and the prices are hard to beat.

TomHorsley
Posts: 96
Joined: 30 Jan 2011, 10:39

Re: Methods To Sense The 3D Surface/Structure Of A Book

Post by TomHorsley » 16 Jan 2012, 19:54

I had a thought the other day: Why lasers? What if you had a nice physically stable glass slide with colored lines on it and just projected it on the book with a slide projector? It would be easy to make a slide with a grid for picking up finer details of the page geometry rather than just having a couple of laser lines.

User avatar
daniel_reetz
Posts: 2776
Joined: 03 Jun 2009, 13:56
E-book readers owned: Used to have a PRS-500
Number of books owned: 600
Country: United States
Contact:

Re: Methods To Sense The 3D Surface/Structure Of A Book

Post by daniel_reetz » 16 Jan 2012, 19:59

When there is a cylinder lens in front of the laser, it forms a more-or-less perfect plane in space, which makes the math simple and the physical setup simple. Whenever you involve a lens or projector, you have to deal with abberations and lens-induced distortion, which might not be bad but is definitely another level of complication.

Still, we've done basically no structured light scanning with a plain old grid; there's definitely room for it.

HenryD

Re: Methods To Sense The 3D Surface/Structure Of A Book

Post by HenryD » 23 Jan 2012, 14:18

Hi I am new to this but would projecting a grid with a Microvision SHOWWX Laser Pico Projector work as a way to Sense the 3D Surface/Structure of a Book? I have one and could help test it but I don't know much about programing so would need help with that part!
anyway I hope this idea helps thanks Henry

Anonymous2
Posts: 97
Joined: 18 Oct 2011, 16:05

Re: Methods To Sense The 3D Surface/Structure Of A Book

Post by Anonymous2 » 23 Jan 2012, 15:06

I think Dan settled on two lasers because most book deformations happen near the top and bottom, where the center is linearly interpolated. The 3D grid might be a bit of an overkill in terms of processing power and resources.

The dewarping code/logic that we came up with works with anything that can map 2D image coordinates to 3D world coordinates, which your method does as well. You'll have to create code that will accurately extract the coordinates of the lines, though, which might be tricky.

Basically, as long as you can extract a 3D model or height map with your technique, dewarping will work.

We have a somewhat solid foundation to work with in terms of basic theory and code structure, so you can try working with it if you want. The project sort of abruptly died last year and hasn't had much input since, so you're welcome to reboot it again!

Post Reply