javaanpr
javaanpr copied to clipboard
Using for another countries
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!
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.
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!