The invention discloses a method for testing and evaluation of automated bill recognition, A, T in the test set of bill bill making bill than the template M according to business needs; and according to the field of business needs identification, the required field input XML file; B, followed by the tickets according to the test set in T the bill into the form recognition system to identify and obtain the test instrument recognition results, recognition results will be written to the XML file in the field; recognition of C, calculation of bill recognition rate of the system Pw and character recognition rate of Pc:D, comparing the results of the C and the bill recognition steps than the template M, there will be differences in the output to the field results text file. The invention can only make a template under the premise, using the evaluation and testing of instrument recognition system to realize computer automation, greatly shorten the product application form recognition system required time, save manpower and material resources, and has fast calculation results, the objective advantages.
【技术实现步骤摘要】
一种票据识别的自动化测试及评价方法
本专利技术涉及图文自动检测
,尤其涉及一种票据识别的自动化测试及评价方法。
技术介绍
图文自动检测
的各种识别系统(如身份证识别、指纹识别、票据识别等),作为图像处理与模式识别领域、计算机领域、人工智能领域的交叉领域的一个应用,是当前的一个研究热点,也是实际的生活需求。票据识别作为众多识别系统中的一种,由于其需求大、应用范围广,更是得到广泛的研究。分析票据识别系统从开发到产品化应用的成型过程,可以发现,票据识别系统识别效果的测试在票据识别系统应用的迭代升级中耗费了大量人力物力,因此针对这一问题(目前国内暂无对票据识别系统识别效果的测试自动化处理),本专利技术公开了一种自动化测试票据识别系统识别效果的方法,可有效减少人力物力,加快票据识别系统产品的迭代升级。所谓测试票据识别系统的识别效果,主要是指测试票据识别系统针对票据中的字符字段是否识别正确,一般的定额发票有如下内容,有发票名称:四川顺丰速运有限公司绵阳分公司通用定额发票,发票代码:15107158F003,发票号码:00004523…..等多个字段,其中每个具体的 ...
【技术保护点】
一种票据识别的自动化测试及评价方法,其特征在于:其方法步骤如下:A、对票据测试集T中的票据根据业务方需求制作票据比对模板M;并根据业务方需求识别的字段,将所需要的字段录入xml文件;B、依次取票据测试集T中的票据进入票据识别系统进行识别,并获得各测试票据的识别结果,将识别结果写入xml文件中;C、计算字段识别率和字符识别率:假定单个票据比对模板M中共有Nw个字段,第i个字段共有Nic个字符,通过字符及字段匹配算法得到票据识别系统识别后的结果,共有Nwr个字段识别正确,第i个字段共有Nicr个字符识别正确,则可通过以下四个公式计算票据识别系统的字段识别率Pw和字符识别率Pc:
【技术特征摘要】
1.一种票据识别的自动化测试及评价方法,其特征在于:其方法步骤如下:A、对票据测试集T中的票据根据业务方需求制作票据比对模板M;并根据业务方需求识别的字段,将所需要的字段录入xml文件;B、依次取票据测试集T中的票据进入票据识别系统进行识别,并获得各测试票据的识别结果,将识别结果写入xml文件中;C、计算字段识别率和字符识别率:假定单个票据比对模板M中共有Nw个字段,第i个字段共有Nic个字符,通过字符及字段匹配算法得到票据识别系统识别后的结果,共有Nwr个字段识别正确,第i个字段共有Nicr个字符识别正确,则可通过以下四个公式计算票据识别系统的字段识...
【专利技术属性】
技术研发人员:肖欣庭,牛小明,唐军,张茗,池明辉,周志,
申请(专利权)人:四川长虹电器股份有限公司,
类型:发明
国别省市:四川,51
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。