Tesseract OCR:是否可以强制一个特定的模式? [英] Tesseract OCR: is it possible to force a specific pattern?

查看:204
本文介绍了Tesseract OCR:是否可以强制一个特定的模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Tesseract,我想开发一个能够识别字符序列的应用程序。我有很好的结果,但不是很好。

I'm using Tesseract and I want to develop an app that is able to recognize a sequence of characters. I had good results but not exellent.

我想要阅读的字符序列总是一个特定的模式,假设:

The characters sequence I want to read has always a specific pattern, let's say:

数字号码char char - (例如:123AB)

有没有办法告诉ocr引擎的结构总是固定的,以提高认可的结果?

Is there a way to "tell" the ocr engine that the structure is always fixed, in order to improve the results of the recognition?

提前谢谢。

推荐答案

尝试 bazaar 匹配模式:

\d\d\d\c\c

这篇关于Tesseract OCR:是否可以强制一个特定的模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆