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

Rob's standalone dewarper

Scan Tailor specific announcements, releases, workflows, tips, etc. NO FEATURE REQUESTS IN THIS FORUM, please.
Post Reply
User avatar
Posts: 481
Joined: 06 Nov 2009, 12:20
Number of books owned: 0
Location: Frozen Wasteland

Rob's standalone dewarper

Post by Misty » 27 Apr 2010, 09:45

I'm porting this over to a new thread so it doesn't clog up the monolithic Scan Tailor thread.

Rob, I was trying your standalone dewarper in Windows. It seems to work fine (it produces a correct output PNG as it should), but it spits out a set of exceptions after running. Is this something I should worry about or can do something about?

Code: Select all

Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/media/jai/codec/FileSeekableStream
        at postprocess.Dewarp.read(Dewarp.java:65)
        at postprocess.Dewarp.main(Dewarp.java:1062)
Caused by: java.lang.ClassNotFoundException: com.sun.media.jai.codec.FileSeekableStream
        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)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        ... 2 more
The opinions expressed in this post are my own and do not necessarily represent those of the Canadian Museum for Human Rights.

User avatar
Posts: 773
Joined: 03 Jun 2009, 13:50
E-book readers owned: iRex iLiad, Kindle 2
Number of books owned: 4000
Country: United States
Location: Maryland, United States

Re: Rob's standalone dewarper

Post by rob » 27 Apr 2010, 21:16

It looks like you need to install the JAI (Java Advanced Imaging) library on your machine. You can download it here.

The Singularity is Near. ~ http://halfbakedmaker.org ~ Follow me as I build the world's first all-mechanical steam-powered computer.

Post Reply