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

Case insensitive #675

Merged
merged 3 commits into from
Feb 9, 2025
Merged

Case insensitive #675

merged 3 commits into from
Feb 9, 2025

Conversation

jesusbft
Copy link
Contributor

@jesusbft jesusbft commented Jan 5, 2025

Sorry, I have to fix my branch and it delete my older pull request.

Summary: I propose adding an optional feature to calculate a case-insensitive Character Error Rate (CER) for the Kraken OCR test function. This metric would ignore errors caused by uppercase and lowercase differences in the predictions.

Use Case: This feature could be useful for:

  • OCR projects involving historical texts, where capitalization is often inconsistent.

  • Scenarios where case differences are less important than the overall recognition accuracy.

How to use:
ketos test (parameters)

The report will show the CER case-insensitive

@mittagessen mittagessen merged commit 8df97ff into mittagessen:main Feb 9, 2025
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.

2 participants