oskopek / javaanpr

JavaANPR - Automatic Number Plate Recognition System for Java
Educational Community License v2.0
152 stars 112 forks source link

Unable to recognise india number plates #79

Closed BVijayKrishna closed 6 years ago

BVijayKrishna commented 7 years ago

Hi,

I added the following code in syntax.xml to recognise india number plates.

<type name="india">
        <char content="abcdefghijklmnopqrstuvwxyz"/>
        <char content="abcdefghijklmnopqrstuvwxyz"/>
        <char content="0123456789"/>
        <char content="0123456789"/>
        <char content="abcdefghijklmnopqrstuvwxyz"/>
        <char content="abcdefghijklmnopqrstuvwxyz"/>
        <char content="0123456789"/>
        <char content="0123456789"/>
        <char content="0123456789"/>
        <char content="0123456789"/>
    </type>

But it is not working. Is there any configuration I'm missing.

Please help me

Thanks in advance Vijay

oskopek commented 7 years ago

The indian number plates have a slightly different font, which might cause the issue. Take a look at how to set a new alphabet in https://github.com/oskopek/javaanpr/blob/master/docs/anpr.pdf (-newalphabet and then set the alphabet in config.xml). Also, feel free to open a pull request with any changes you think would be useful to the project (even documentation)!

oskopek commented 6 years ago

Closing due to inactivity.