I would like to start a project that will take a picture of the license plate of a vehicle and then take all the digits and record them. Is there a way to have the Pi recognize the digits?

closed as off-topic by joan, Milliways, Aurora0001, Dmitry Grigoryev, tlhIngan Aug 22 '18 at 17:01

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be specific to the Raspberry Pi within the scope defined in the help center." – joan, Milliways, tlhIngan
If this question can be reworded to fit the rules in the help center, please edit the question.


You should look at computer vision and the OpenCV library. To put it quickly, this problem has been solved before, and all you need to do is to google "recognizing numbers with opencv" to find tutorials.

PyImageSearch is always a good resource for OpenCV.

There are also many examples on YouTube. This is an example with license plates.

OpenCV is one of the most-used computer vision libraries available for Linux. And yes, it does compile on the Raspberry Pi.

Speaking of which, this is much more a generic Linux question than a Raspberry Pi question.

  • The reason why I asked it on here was because last time I tried, I remember seeing some compatibility issues. I wanted to get an answer from some people having used it on the rpi before. – Max Aug 18 '18 at 22:07

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