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

Improvements in the OCR-D interface #9

Merged
merged 20 commits into from
Apr 22, 2024
Merged

Improvements in the OCR-D interface #9

merged 20 commits into from
Apr 22, 2024

Conversation

kba
Copy link
Member

@kba kba commented Feb 1, 2024

be consistent with other processors:

  • rename parameter replace_textstyle -> overwrite_style
  • rename parameter network -> model

add information incrementally:

  • parameter overwrite_text: If true, replace all existing textequivs, else (default) just add a textequiv
  • parameter 'overwrite_style: if true (default), replace the fontFamily` attribute of existing textstyle or create new style if non exists.

threshold:

  • parameter min_score_style: Score between 0 and 100, font classification results below this score will not be serialized or used for OCR, default: 0

@kba kba mentioned this pull request Feb 1, 2024
Copy link
Contributor

@bertsky bertsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

superb!

@bertsky
Copy link
Contributor

bertsky commented Mar 7, 2024

I have to replace ocrd-typegroups-classifier with ocrd-froc in ocrd_all's test-workflow.sh – can we merge this?

@kba kba merged commit 2cb0f95 into main Apr 22, 2024
4 checks passed
@kba kba deleted the pr-8-feedback branch April 22, 2024 13:04
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

Successfully merging this pull request may close these issues.

3 participants