我习惯使用JavaANPR http://javaanpr.sourceforge.net/
我遇到了本地化问题。我想读取土耳其车牌,但是出现了读取错误。可能是什么原因?应该使用哪种语法。
以下是我的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>
我在等待你的答复。非常感谢您的帮助。
更新
我解决了问题 \resources\syntax.xml 文件已更改 使用此文件
<?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>