I want to identify Egyptian car number plates that look like this:

license plate image

How can I do this in Java ?

I plan to do this in Android, as the user will catch the number plate with a camera and the results will be submitted to server.

  • $\begingroup$ For info on OCR in Java look at my answer for this question: stackoverflow.com/questions/8786643/… $\endgroup$ – Nikolay Feb 13 '12 at 10:19
  • $\begingroup$ Do you have a template of all the possible number/letter shapes found on license plates? $\endgroup$ – endolith May 3 '13 at 17:47

You have to do following methods:

First step: Number plate extraction

You can use OpenCV for this purpose. It has Java api. Also it is ported to Android.

Second step : OCR

OCR is used to recognise the letters on notice board.

You can train your own OCR for arabic letters and digits using OpenCV.

Or you can use tesseract-OCR. I think it supports arabic also.

Following paper will be useful for you: Paper 1

Also, this site includes complete code for number plate extraction, but in C++. But it will be a good start.


The link provides an algorithm to detect text from an image in Java... it works for English..

You can try for something similar for Arabic. http://code.google.com/p/textdetection/source/browse/trunk/src/com/jpprade/text/detection/MainApp.java?r=7


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.