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

Search found 79 matches

by abmartin
17 May 2013, 19:33
Forum: Programs, Software releases, and more.
Topic: Scantailor preprocess script
Replies: 30
Views: 19167

Scantailor preprocess script

I've been posting the slow progress of development in another thread as this script morphed from a tutorial into something that stands more on its own. ( http://diybookscanner.org/forum/viewtopic.php?f=19&t=2795 ) It is at a place now where I feel that I can post it here as complete. I have written ...
by abmartin
14 May 2013, 15:37
Forum: Tutorials/How-To's
Topic: Preprocessing RAW images for Scantailor
Replies: 37
Views: 26494

Re: Preprocessing RAW images for Scantailor

I found a couple more issues that have been fixed. I left one of the imagemagick verbose options turned on rather than using the variable. Also, I have fixed a few issues with the text output to make things more consistent. I have also added a bit more on-screen info in the color-correction stage. I...
by abmartin
09 May 2013, 15:50
Forum: Tutorials/How-To's
Topic: Preprocessing RAW images for Scantailor
Replies: 37
Views: 26494

Re: Preprocessing RAW images for Scantailor

Here's a new version. I have included royeven's fix in the checking DPI section. #!/bin/bash ###Scantailor Preprocessor### #Fixes color with a gray card and geometry with ppmunwarp and a calibration grid #Dependencies: Imagemagick, ppmunwarp as modified by royeven, Ufraw (only needed for RAW), Ufraw...
by abmartin
01 May 2013, 19:36
Forum: Tutorials/How-To's
Topic: Preprocessing RAW images for Scantailor
Replies: 37
Views: 26494

Re: Preprocessing RAW images for Scantailor

If you want to see what package contains the missing files, run a dpkg search dpkg -S '/usr/share/themes/Lubuntu-default/gtk-2.0/images/null.png' Change what is inside the single quotes to what each of the other errors say can't be found. That should tell you if there is a package that contains what...
by abmartin
01 May 2013, 18:01
Forum: Tutorials/How-To's
Topic: Preprocessing RAW images for Scantailor
Replies: 37
Views: 26494

Re: Preprocessing RAW images for Scantailor

Royevan, Thanks for that description of your method. I think that's a pretty clever way of dealing with the gaps! The only other ways I can theorize to do that are very much beyond my current math abilities. I too am interested to see if an c++ guru has any improvements. The 1 pixel differences went...
by abmartin
01 May 2013, 17:34
Forum: Tutorials/How-To's
Topic: Preprocessing RAW images for Scantailor
Replies: 37
Views: 26494

Re: Preprocessing RAW images for Scantailor

When you get that stream of GIMP error messages, it still opens and lets you measure? Then you had to press enter to keep going? If so, can you type the correct DPI (if needed) before pressing enter? The errors I see in the most current log are just distro specific errors in the Lubuntu skin. I susp...
by abmartin
01 May 2013, 08:47
Forum: Tutorials/How-To's
Topic: Preprocessing RAW images for Scantailor
Replies: 37
Views: 26494

Re: Preprocessing RAW images for Scantailor

I probably should think about adding in some exit codes for failed steps with error messages... I'm not sure how to do that, but the internet probably has the answer somewhere. What's going wrong there is that ppmunwarp isn't detecting enough calibration points for it do actually run. (The issue is ...
by abmartin
30 Apr 2013, 16:15
Forum: Tutorials/How-To's
Topic: Preprocessing RAW images for Scantailor
Replies: 37
Views: 26494

Re: Preprocessing RAW images for Scantailor

I do think that some other folks have written barcode detection programs. If you found one that works well, you can always just add that command at the end of the script. I tested the new autodetection with about a dozen examples. It seems to be right on. Always within 1 ppi of what I manually did, ...
by abmartin
29 Apr 2013, 22:40
Forum: Tutorials/How-To's
Topic: Preprocessing RAW images for Scantailor
Replies: 37
Views: 26494

Re: Preprocessing RAW images for Scantailor

I think I have figured out how to do gray cards with imagemagick. I haven't done any real testing beyond proof-of-concept at this point. I'll compare the results that this gets with UFRaw as soon as I can. (Probably when I test the new auto-detection of ppi!) I prefer using imagemagick, because a us...
by abmartin
29 Apr 2013, 22:13
Forum: Tutorials/How-To's
Topic: Preprocessing RAW images for Scantailor
Replies: 37
Views: 26494

Re: Preprocessing RAW images for Scantailor

Pablitoclavito, ppmunwarp does automatically do some cropping for you based on the size of the calibration image. This eliminates issues with scantailor detecting the gutter, and will get reasonably close to the outside of the image. If you look at the final image I posted, that basic crop has alrea...