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

ocrd-tool.json: Support range/step/unit definition for numerical parameters #198

Open
kba opened this issue Apr 8, 2022 · 1 comment
Open

Comments

@kba
Copy link
Member

kba commented Apr 8, 2022

For those implementations that want to generate user interfaces for the parameterization of processors, more information about numerical parameters would be helpful to offer the right widgets in the UI. This includes

  • range information (what is the minimum and maximum of supported values)
  • step size (are these integer values to be implemented with a simple counter or even a dropdown or floating point values to be represented with e.g. a slider)
  • unit (e.g. are these rotational degrees or foreground-to-background-pixel ratios or distances etc.)
@kba
Copy link
Member Author

kba commented May 20, 2022

With #206, range can expressed with {exclusiveM,m}{ini,axi}mum.

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