bug-ocrad
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-ocrad] Question on new rotate option


From: Antonio Diaz Diaz
Subject: Re: [Bug-ocrad] Question on new rotate option
Date: Sat, 04 Mar 2006 23:14:49 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.12) Gecko/20050923

Tony Maro wrote:
I'm using:

ocrad --crop 700,960,1640,2200 -t rotate180

But I've learned that some of my pages are smaller than others because
the scanners automatically size the image according to the paper.

Is there a way to reference the coords from the lower right corner?  I
don't need exactly the quadrant of the page, I'm actually using a bit
more than that.

From `ocrad.info':
`--crop=LEFT,TOP,RIGHT,BOTTOM'
`-p LEFT,TOP,RIGHT,BOTTOM'
     Crop the input image by the rectangle defined by LEFT, TOP, RIGHT
     and BOTTOM. The values of LEFT, TOP, RIGHT and BOTTOM may be
     relative to the image size (0.0 <= value <= 1.0), or absolute
     (value > 1).


And yes, you can mix absolute and relative values.
For example `ocrad --crop 700,960,1,1 -t rotate180' will work as expected.


Regards,
Antonio.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]