Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ability to 'cut' ie apply target rectangle to input #34

Open
pstanton opened this issue May 3, 2017 · 0 comments
Open

ability to 'cut' ie apply target rectangle to input #34

pstanton opened this issue May 3, 2017 · 0 comments

Comments

@pstanton
Copy link

pstanton commented May 3, 2017

https://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.

is this functionality available? is there an example? I'm interested in performing this on a file such as http://www.stormsurfing.com/stormuser2/images/grib/eoz_height_126hr.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant