Automatic crop and rotate scans?

Automatic crop and rotate scans?

Hetz Ben Hamo hetzbh at gmail.com
Tue May 3 10:52:30 IDT 2011


I'm using PHPSANE (http://sourceforge.net/projects/phpsane/). It doesn't do
auto crop but I can see on my browser whats the pic and with 2 clicks to
decide which part to scan.

Hetz

2011/5/3 Nadav Har'El <nyh at math.technion.ac.il>

> Hi,
>
> I have a flatbed scanner (by HP) attached to my Linux machine, and I often
> need to scan rectangular items such as photographs, CD inserts, and the
> occasional piece of paper.
>
> At the moment, I follow a tedious manual process to do that: The scanner
> generates a big image of everything it sees on glass window, and then using
> Gimp I manually rotate the image (because I can't place it on the window
> with
> 100% precision) and then crop it to the rectangle.
>
> Supposedly, Photoshop has an "Automate->Crop and Straighten Photos"
>  feature
> (see http://www.photoshopessentials.com/photo-editing/crop-straighten/)
> but I couldn't find such a feature in Gimp.
>
> I was really surprised that I couldn't easily find some program to do this
> automatically: The program would recognize (using a relatively simple
> algorithm)
> the foreground rectangle in the image, rotate it to be perfectly
> horizontal,
> and then crop the image to it.
>
> Does anyone know of such a program? Obviously, it needs to be free software
> running on Linux. Bonus points if it's a command line program (a la netpbm
> or imagemagick) and not an "integrated" GUI program. Extra bonus points if
> it's a pipeline of netpbm or netpbm-like tools :-) But any other sort of
> (free) solution would also be acceptable.
>
> Thanks,
> Nadav.
>
> --
> Nadav Har'El                        |      Tuesday, May  3 2011, 29 Nisan
> 5771
> nyh at math.technion.ac.il
> |-----------------------------------------
> Phone +972-523-790466, ICQ 13349191 |Sign seen in restaurant: We Reserve
> The
> http://nadav.harel.org.il           |Right To Serve Refuse To Anyone!
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>


-- 

*חץ בן חמו
חץ-ביז (הוסטינג)
*השכרה ואירוח של שרתים פיזיים
השכרת שרתים וירטואליים מקצועיים וגדולים במחירים *קטנים*
בקרו באתרנו בכתובת hetz.biz <http://www.hetz.biz/> ובבלוג שלנו:
blog.hetz.biz
טלפוןן: 0783333113/4/5, אימייל: sales at hetz.biz
מסנג'ר: sales at hetz.biz - סקייפ: heunique
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20110503/77659622/attachment.html>


More information about the Linux-il mailing list