Re: Detect and crop borders of scanned image from command line

2004-10-25 Thread William Ballard
On Mon, Oct 25, 2004 at 09:02:56PM -0400, William Ballard wrote: > How can I detect and crop this border from the command line? Wrote my own thing using the Imagemagick C api. Load image using MagickReadImage, get 100x100 blocks of pixels using MagickGetImagePixels as "Intensity" values 0-255, lo

Detect and crop borders of scanned image from command line

2004-10-25 Thread William Ballard
I scan *lots* of paper, including small receipts and damaged paper, so an ADF isn't practical. It takes hours to do stuff by hand and is very manual. I could optimize the process by leaving the lid open and always doing a full scan, which would result in a trapezoidal white image with a large