bug-ocrad
[Top][All Lists]
Advanced

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

Re: [Bug-ocrad] Ocrad


From: Antonio Diaz Diaz
Subject: Re: [Bug-ocrad] Ocrad
Date: Mon, 03 Jul 2017 19:41:53 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

Hello,

Sherwin Cajes wrote:
How do I OCR a specific zone of an image?

You may use the --cut option:

http://www.gnu.org/software/ocrad/manual/ocrad_manual.html#Invoking-ocrad

-u left,top,width,height
--cut=left,top,width,height
Cut the input image by the rectangle defined by left, top, width and height. Values may be relative to the image size (-1.0 <= value <= +1.0), or absolute (abs( value ) > 1). Negative values of left, top are relative to the right-bottom corner of the image. Values of width and height must be positive. Absolute and relative values can be mixed. For example 'ocrad --cut 700,960,1,1' will extract from '700,960' to the right-bottom corner of the image. The cutting is performed before any other transformation (rotation or mirroring) on the input image, and before scaling, layout analysis and recognition.


Best regards,
Antonio.



reply via email to

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