本文介绍了JavaANPR本地板识别(本地化)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用JavaANPR http://javaanpr.sourceforge.net/

Im use to JavaANPR http://javaanpr.sourceforge.net/

我有一个本地化问题.我想读取土耳其板,但出现错误,无法读取.为什么会这样.我应该使用哪种语法.

I have a problem for localizing problem. I want to read Turkey plate but I getting an error not read. Why could it be. Which should I use syntax.

我的xml语法

<type name="turkey">
   <char content="0123456789"/>
   <char content="0123456789"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="0123456789"/>
   <char content="0123456789"/>
   <char content="0123456789"/>
 </type>

样品土耳其板块:

我的结果失败:

我在等你的答案.非常感谢您的帮助.

I waiting your answer. Thank you so much for help.

更新

我解决问题\ resources \ syntax.xml确实更改了文件

I solve problems\resources\syntax.xml did change the filewith this

<?xml version="1.0" encoding="iso-8859-2"?>
<structure>
<type name="turkey_2x3x2">
   <char content="0123456789"/>
   <char content="0123456789"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="0123456789"/>
   <char content="0123456789"/>
 </type>

 <type name="turkey_2x2x4">
   <char content="0123456789"/>
   <char content="0123456789"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="0123456789"/>
   <char content="0123456789"/>
   <char content="0123456789"/>
   <char content="0123456789"/>
 </type>
   <type name="turkey_2x3x2">
   <char content="0123456789"/>
   <char content="0123456789"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="0123456789"/>
   <char content="0123456789"/>
 </type>
   <type name="turkey_2x2x36">
   <char content="0123456789"/>
   <char content="0123456789"/>
    <char content=" 0123456789abcdefghijklmno0pqrstuvwxyz"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
     <char content=" 0123456789abcdefghijklmno0pqrstuvwxyz"/>
   <char content="0123456789"/>
   <char content="0123456789"/>
   <char content="0123456789"/>
 </type>
  <type name="turkey_2x2x3">
   <char content="0123456789"/>
   <char content="0123456789"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="0123456789"/>
   <char content="0123456789"/>
   <char content="0123456789"/>
 </type>

</structure>

工作

推荐答案

OP的回答:

我解决问题\ resources \ syntax.xml确实更改了文件

I solve problems\resources\syntax.xml did change the filewith this

<?xml version="1.0" encoding="iso-8859-2"?>
<structure>
<type name="turkey_2x3x2">
   <char content="0123456789"/>
   <char content="0123456789"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="0123456789"/>
   <char content="0123456789"/>
 </type>

 <type name="turkey_2x2x4">
   <char content="0123456789"/>
   <char content="0123456789"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="0123456789"/>
   <char content="0123456789"/>
   <char content="0123456789"/>
   <char content="0123456789"/>
 </type>
   <type name="turkey_2x3x2">
   <char content="0123456789"/>
   <char content="0123456789"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="0123456789"/>
   <char content="0123456789"/>
 </type>
   <type name="turkey_2x2x36">
   <char content="0123456789"/>
   <char content="0123456789"/>
    <char content=" 0123456789abcdefghijklmno0pqrstuvwxyz"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
     <char content=" 0123456789abcdefghijklmno0pqrstuvwxyz"/>
   <char content="0123456789"/>
   <char content="0123456789"/>
   <char content="0123456789"/>
 </type>
  <type name="turkey_2x2x3">
   <char content="0123456789"/>
   <char content="0123456789"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="abcdefghijklmno0pqrstuvwxyz"/>
   <char content="0123456789"/>
   <char content="0123456789"/>
   <char content="0123456789"/>
 </type>

</structure>

工作

这篇关于JavaANPR本地板识别(本地化)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-16 10:23