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

GIMP and DESKEW... wow

Share your software workflow. Write up your tips and tricks on how to scan, digitize, OCR, and bind ebooks.
Post Reply
pfarber
Posts: 19
Joined: 14 Feb 2010, 07:42

GIMP and DESKEW... wow

Post by pfarber » 03 Jan 2012, 23:59

If you use gimp there was a plugin written in 2008 called 'deskew'.

I got it running on my SLACKWARE 13.37 system and it is QUICK and ACCURATE.

Here is a before:
predeskew.JPG
predeskew.JPG (58.46 KiB) Viewed 9017 times
And AFTER: The canvas is showing through on the corners... and this was about 3 seconds of processing on a grayscale TIFF image
postdeskew.JPG
postdeskew.JPG (56.46 KiB) Viewed 9017 times
GIMP can be set up to batch the files and run without interaction :)
Last edited by pfarber on 06 Jan 2012, 12:35, edited 2 times in total.

pfarber
Posts: 19
Joined: 14 Feb 2010, 07:42

Re: GIMP and DESKEW... wow

Post by pfarber » 04 Jan 2012, 00:01

Can't edit posts?

Ignore the MIDDLE image... the first and last ones show the before and after.

User avatar
daniel_reetz
Posts: 2780
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: GIMP and DESKEW... wow

Post by daniel_reetz » 04 Jan 2012, 00:02

try editing your post now... we've been trying different settings but having no luck.

pfarber
Posts: 19
Joined: 14 Feb 2010, 07:42

Re: GIMP and DESKEW... wow

Post by pfarber » 04 Jan 2012, 00:37

The only option I have is 'Report' and 'Quote' at the top.

If you are having permission problems log in an administrator, go to the ACP, select the Permissions tab, then the Permissions Mask in the lower right. That will show you what permissions are available, and how they are inherited by user, group, forum etc.

You'll figure it out once you punch in a couple different items.

Helped me a lot to figure out what was blocking an attribute that I set, yet did not 'work'.

User avatar
daniel_reetz
Posts: 2780
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: GIMP and DESKEW... wow

Post by daniel_reetz » 04 Jan 2012, 00:49

grr, yet another PHPBB crazy-deep menu. But that was really helpful, thanks! I think you should have an edit button now.

As long as you're helping me out in this capacity, do you have any ideas on improving our forum search? I'd like to just replace the search box with a custom Google Search, but my attempts so far have been pretty crappy.

pfarber
Posts: 19
Joined: 14 Feb 2010, 07:42

Re: GIMP and DESKEW... wow

Post by pfarber » 06 Jan 2012, 12:33

phpBB3 search is a basic text search... so yeah, its kinda poor.

Only advice I can offer is to use the google site: search, but I don't know if there is a direct plugin for phpbb3

But from google if you enter:

site:diybookscanner.org deskew

It will limit search results to the domain after 'site'.

There is a mod you can do:

http://www.phpbb.com/community/viewtopi ... &t=1344605

tkr
Posts: 35
Joined: 29 Jan 2012, 21:53
Number of books owned: 0

Re: GIMP and DESKEW... wow

Post by tkr » 02 May 2012, 12:51

pfarber,
I was able to get deskew working for me (works quite well actually - tks !!) - do you know how to run it as a batch process rather than interactively ?

snaguy
Posts: 54
Joined: 14 Mar 2011, 04:28
E-book readers owned: iPad
Number of books owned: 0

Re: GIMP and DESKEW... wow

Post by snaguy » 08 Oct 2012, 17:30

tkr

try http://registry.gimp.org/node/2958

or you may have better luck with imagemagick which also has deskew functions.

Post Reply