问题
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.
my xml syntax
<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>
Sample Turkey plates:
My result failed:
I waiting your answer. Thank you so much for help.
UPDATE
I solve problems \resources\syntax.xml did change the file with 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>
and working
回答1:
As answered by the OP:
I solve problems \resources\syntax.xml did change the file with 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>
and working
来源:https://stackoverflow.com/questions/35113523/javaanpr-local-plate-recegtion-localizing