I am working with JavaAnpr to automatically recognize license plates. While it works well with European license plates, it doesn't with my country. For example;
How could I edit the recourse files and syntax XML to support other countries?
I am working with JavaAnpr to automatically recognize license plates. While it works well with European license plates, it doesn't with my country. For example;
How could I edit the recourse files and syntax XML to support other countries?
@michel_layyous - Here's the documentation by the author. Read Page 57: http://javaanpr.sourceforge.net/anpr.pdf
syntax.xml is essentially a regex file.
Using this page as an example: https://code.google.com/p/android-anpr/source/browse/trunk/res/raw/syntax.xml?r=21
This Russian license plate pattern is 8 characters. The first character can be any of those letters. The next 3 characters can be any number from their respective set. The next 2 characters can be any of those letters from their respective set, and the last 2 characters can be any of those letters from their respective set.
The next Russian license plate is just like the first Russian license plate, except one key difference:
The 6th character can only be a 0, 1, or 2.
I also found a relevant blurb on this page: http://www.mp3car.com/software-and-software-development/124529-automatic-number-plate-recognition-anpr-3.html
I found a very similar license plate for your country, however it consists of two rows. The first two numbers are on the top row, and there are 5 numbers on the bottom row. It looks like your country has 7 digits for your particular style of plate. I don't how the dot factors into the recognition of your plate, however, Page 58 of the author's documentation states:
Check out OpenALPR (http://www.openalpr.com). It has better support across various countries. The library is written in C++ (as opposed to Java) but that should be easy to hook up using JNI.