line detection

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
ronbell

line detection

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: line detection

Post 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
Post Reply