1

I am working on a project named as ANPR and while searching for guide I found a link on JavaANPR. Its a great project, but I want that project to be connected with my webcam so the number plates can be recognized directly from webcam not from still image.

Please any one if there is a way that I can connect my webcam directly to this project then share it with me.. I'll really appreciate that..!

Thank you

mrabro
  • 1,097
  • 4
  • 13
  • 27

1 Answers1

4

Using Webcam Capture in Java, you should easily be able to build a simple program using my fork of JavaANPR.

Using the code examples given by both Webcam Capture and JavaANPR, the main part of your code would look something like this:

Intelligence intel = new Intelligence();
Webcam webcam = Webcam.getDefault();
webcam.open();

CarSnapshot carSnap = new CarSnapshot(webcam.getImage());
String numberPlate = intel.recognize(carSnap);

Now the numberPlate string contains the recognized number plate text.

Ondrej Skopek
  • 778
  • 10
  • 27