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

Keystoning and image size

Discussion about Steve DeVore's Book Scan Wizard, a power-user package to automate scan processing.
Post Reply

Keystoning and image size

Post by Lakmir » 20 Sep 2011, 16:32

Okay, so last night I finally got around to building a quick-and-dirty scanner based on the cardboard box build on the old instructable. I'm only planning on using it a couple of times per year, mainly for textbooks, and it got its first real run last night with a 500 page linear algebra book. However, I think my tripod wasn't properly leveled, because I ended up with a nasty keystone effect in a lot of my images. Is there any easy way to fix this? I've tried loading up Book Scan Wizard - not that I have any idea how to use it, mind! - but I can't get it to run either from web or manual install. Manual gives me:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/jai/JAI
at net.sourceforge.bookscanwizard.BSW.<clinit>(BSW.java:92)
Caused by: java.lang.ClassNotFoundException: javax.media.jai.JAI
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 1 more
Could not find the main class: net.sourceforge.bookscanwizard.BSW. Program will exit.

While the web start version gives me:
com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: http://download.java.net/media/jai/webs ... i_core.jar
at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(Unknown Source)
at com.sun.javaws.security.SigningInfo.check(Unknown Source)
at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)
at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)
at com.sun.javaws.Launcher.prepareResources(Unknown Source)
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

I'm running Java 1.6.0_026.

Also, it turns out that TIFF output images are massive - 300K apiece or so, at some 5000x6000 pixel resolution. I'd like to shrink them down a bit so that my resultant PDF output ends up around 50 megs or less. Again, is there an easy way to automate this?

Posts: 296
Joined: 27 Nov 2010, 02:26
E-book readers owned: PRS-505
Number of books owned: 1250
Location: Minneapolis, MN

Re: Keystoning and image size

Post by steve1066d » 24 Sep 2011, 16:39

Give BSW another try.. Oracle made a change which broke BSW, but it should be working now.
Steve Devore
BookScanWizard, a flexible book post-processor.

Post Reply