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

RFC: Harmonize parameters for similar processors #118

Open
stweil opened this issue Feb 28, 2020 · 1 comment
Open

RFC: Harmonize parameters for similar processors #118

stweil opened this issue Feb 28, 2020 · 1 comment

Comments

@stweil
Copy link
Contributor

stweil commented Feb 28, 2020

Both ocrd-tesserocr-deskew and ocrd-cis-ocropy-deskew are used to deskew a page or all regions of a page. They also both have a parameter to decide which operation is desired:

  • ocrd-tesserocr-deskew: operation_level ["page", "region"]
  • ocrd-cis-ocropy-deskew: level-of-operation ["page", "region"]

Ideally the parameter names for identical functionality should be identical for all processors.
It would also be nice to harmonize the use of underscore or minus sign in parameter names.

@kba
Copy link
Member

kba commented Feb 28, 2020

parameter to decide which operation is desired

Best discussed in OCR-D/spec#136

It would also be nice to harmonize the use of underscore or minus sign in parameter names.

I prefer dashes though I'm not always consistent myself.

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

2 participants