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

Add API and CLI option for generating text segmentation mask #22

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

robertknight
Copy link
Owner

Add --text-map option to ocrs CLI tool and supporting OcrEngine::detect_text_pixels API to generate a text probability mask.

This is useful for debugging text detection differences between model versions.

In the process a params argument was added to TextDetector::from_model to make it easier to test adjustments to various post-processing parameters.

Add `--text-map` option to ocrs CLI tool and supporting
`OcrEngine::detect_text_pixels` API to generate a text probability mask.

This is useful for debugging text detection differences between model versions.

In the process a `params` argument was added to `TextDetector::from_model` to
make it easier to test adjustments to various post-processing parameters.
@robertknight robertknight merged commit b4b81ae into main Feb 1, 2024
2 checks passed
@robertknight robertknight deleted the text-map-option branch February 1, 2024 08:10
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.

1 participant