Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using for another countries #86

Open
daniruse opened this issue Apr 28, 2020 · 2 comments
Open

Using for another countries #86

daniruse opened this issue Apr 28, 2020 · 2 comments

Comments

@daniruse
Copy link

Ondrej, I see that currently the application only works for Slovak, Czech and German license plates. Is there any way in which the model can be expanded for other countries as well? I think expanding the syntax.xml file will do the trick here, but I don't know from where to start in order to help you expand the list of countries.
Can you help me with some guidance in this matter?
Thanks!

@oskopek
Copy link
Owner

oskopek commented May 14, 2020

Hi, sorry for the super late reply!

Well, yes, providing alternative syntax.xml files might be a good start for specific countries. The format of the files is quite straightforward, but feel free to ask if something is unclear.

For countries with completely different license plate formats (e.g. non-latin alphabets, multiple rows), one would have to improve the code itself. A good place to start looking at is https://github.com/oskopek/javaanpr/blob/master/src/main/java/net/sf/javaanpr/intelligence/Intelligence.java#L66 (the code is a mess, feel free to start by refactoring away the report generation from the actual logic).

Feel free to ask any questions you may have :) Also, looking at the generated reports can give you a bit of an insight into how the algorithm works.

@daniruse
Copy link
Author

Hi Ondrej,

Thank you very much for your response and for the details you've provided.
I will try to follow your advice and try to create XML files for different countries.
I'll let you know if I reach some significant progress.

Thank you again for your help!

DrDub added a commit to DrDub/javaanpr that referenced this issue Dec 23, 2021
This is some progress for oskopek#86.

The Canadian license plates change from province to province. Included here are only private vehicles (commercial vehicles have different formats).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants