Antonio Diaz Diaz wrote: > 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. Ah, great, thanks! I was having trouble deciphering that.
-Tony _______________________________________________ Bug-ocrad mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-ocrad
