Page 1 of 1

line detection

Posted: 2010-09-03T02:00:35-07:00
by ronbell
We have a requirement to batch crop and, where required, deskew images which are of a set format but where the position of the format can vary on a page.

Is this achievable and are you able to supply the software routines required?

Sample images can be provided

Re: line detection

Posted: 2010-09-03T14:33:17-07:00
by fmw42
ronbell wrote:We have a requirement to batch crop and, where required, deskew images which are of a set format but where the position of the format can vary on a page.

Is this achievable and are you able to supply the software routines required?

Sample images can be provided

Don't understand about the set format that can change?

Best to provide links to examples and describe exactly what you want to happen or show some example results.

IM can batch process using mogrify or via a script loop using convert. There are IM functions for crop and deskew.

see

http://www.imagemagick.org/script/comma ... ptions.php
http://www.imagemagick.org/Usage/
http://www.imagemagick.org/Usage/basics/#mogrify