Hello everyone. Today I want to show you how you can use your Raspberry Pi and Javaanpr to automatically extract a license plate number from a picture. You can use this technology to open your garage door for example.
To make this work run the following commands to update your Raspberry Pi and to install Java on it: (Oracle Java 7 JDK did the best job in my tests)
sudo apt-get update sudo apt-get install oracle-java7-jdk
After the update and installation have finished you need to download Javaanpr.
Now use a test picture of a license plate and run the following command:
time java -jar javaanpr.jar -recognize -i test.jpg
Here is a screenshot of my test: (I used the Raspberry Pi B Model and I did not overclock it.)
It took about 10 seconds for Javaanpr to get the license plate number. Pretty fast in my opinion.
Well, that´s it. You can now use this knowledge for you projects. For example an automatic garage door opener. I hope you liked my post and I hope to see you next time 🙂
Update: I forgot to mention the following: To use Javaanpr all you need to do is to place the jar you downloaded from here into some directory on your Raspberry Pi and run the command
java -jar javaanpr.jar -recognize -i test.jpg
to execute it. That´s all.