有没有办法分割横线纸扫描用于模型训练

发布于 2025-01-13 23:19:21 字数 512 浏览 0 评论 0原文

我正在 github https://github.com/githubharald/SimpleHTR 上试验这个 HTR 存储库,但是该模型只能通过单个单词和行扫描进行识别和训练。我有横格纸的扫描件,想在这些线上分割图像。我知道我可以通过屏幕截图手动执行此操作,但以编程方式会更好。

示例图片: 手写扫描

预期输出: 示例输出

I am experimenting with this HTR repo on github https://github.com/githubharald/SimpleHTR, but the model can only recognize and train from single word and line scans. I have scans of lined paper and would like to split the image on those lines. I understand I can do this manually with screenshots but programmatically would be better.

Example image:
Handwritten scan

expected output:
sample output

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文