Share My Creation License Plate (ANPR) Reading with B4J

The App I build will show that B4J has much Potential.
Busy for years with ANPR I have thinking to give it a try to use B4J for it.
The App i made is just a test app to create a B4J Wrapper for the Library's I need..
The Library's also making calls to some C++ Dll's.
I make use of a Engine from a ANPR SDK Company so its not mine.
I only build the things around to make this to work.
The Application is scanning two Lists with Images.
Plates can be all over the world also Asia and Arabic Plates can be read very well.

Before somebody ask, this will not work in B4A.:(
I also know that OpenCV and Tesseract can do this, but not so good as this SDK.
There is also some Hardware needed to Run this.

I think this is the first B4J App reading license plates all over the world.
You can watch the Video on http://anprscan.dyndns.org/B4J-ANPR/B4JAnpr.avi
The Fast Version you can watch at http://anprscan.dyndns.org/B4J-ANPR/B4JAnprFast.avi
Files are too big to Upload.

I hope you like what you see.
Story will continue in this Thread.
 
Last edited:

microbox

Active Member
Licensed User
Longtime User
Hi swissmade...I'm not able to see the video(internet connection issues perhaps). I'm very much interested with your project, just wondering what hardware requirements needed for this project?
 
Last edited:

microbox

Active Member
Licensed User
Longtime User
Hi swissmade, too bad I can't afford those camera. For starter, I hope I can try it on a cheaper like logitech(5-8 Megapixel). And it will be interesting to see it runs on B4J.

Kind regards,
microbox
 

Swissmade

Well-Known Member
Licensed User
Longtime User
Hi Microbox,
You don't need the Camera's from ARH only the SDK.
Then you can make use of any Camera sending single Jpeg or MJpeg images.
I don't make use of a Stream like H264. This cost me to much Bandwidth.
We only need Images when we have a event.
If you send me Images from the Logitech then we can try if it is working.
What you must do is, Character hight has to be at least between 16px and 30 px per Character on the plate.
In the meantime, the Interface of the Testapp has changed.
We only run one Process in the App its faster.
Need any help, Please let me know.;);)
 

JTmartins

Active Member
Licensed User
Longtime User
The App i made is just a test app to create a B4J Wrapper for the Library's I need..
The Library's also making calls to some C++ Dll's.

This is what I'm interested. I would like to learn how to do this. :)
 

Swissmade

Well-Known Member
Licensed User
Longtime User
This is what I'm interested. I would like to learn how to do this. :)
Hm
The B4J Wrapper written in Java make use of the Dll's.
The B4J App makes use of this wrapper.
This is what you need in Java to get Dll's.
B4X:
    static {
      try {
         System.loadLibrary("jgx");
         System.loadLibrary("jcmanpr");
      } catch(UnsatisfiedLinkError e) {
         System.err.println("Native code library failed to load." + e);
//         System.exit(1);
      }
 

Swissmade

Well-Known Member
Licensed User
Longtime User
Hi all,

Like I have promised.
Story will continue in this Thread.

In the meantime I have build a ANPR Server in .NET
The engine I use don't need any hardware and this lowers the cost.
The ANPR Server will only run on windows systems.
The ANPR Server listen on 127.0.0.1", 11000.
Now we can build a client in B4J what is sending the Image Path and filename to the Client.
If the Image FileName is send, the ANPR Server will Scan this for Plates and give this back to the Client.
This can be fast about 40 -100 ms.
ANPR Server need to know which country has to be scanned and can work for.
Argentina, Australia, Belgium
Brazil, Bulgaria, Canada
Croatia, Czech Republic, Denmark
France, Germany, Greece, Hungary
Iceland, Ireland, Israel, Italy
Netherlands, Norway, Peru, Poland, Portugal, Romania
Singapore, Slovakia, Slovenia, South Africa, Spain
Sweden, Switzerland, Turkey, United Kingdom, Ukraine, Uruguay

For more info please contact me.
 
Last edited:

Swissmade

Well-Known Member
Licensed User
Longtime User
Hi all,

Like I have promised.


In the meantime I have build a ANPR Server in .NET
The engine I use don't need any hardware and this lowers the cost.
The ANPR Srver will only run on windows systems.
The ANPR Server listen on 127.0.0.1", 11000.
Now we can build a client in B4J what is sending the Image Path and filename to the Client.
If the Image FileName is send, the ANPR Server will Scan this for Plates and give this back to the Client.
This can be fast about 40 -100 ms.
ANPR Server need to know which country has to be scanned and can work for.


For more info please contact me.

Edit at 07-03-2016
In the meantime I also have build a .NET server same as above but this server is using the Hardware I have spoken above.
Same functions fast and can read nearly all plates in this world.
 
Top