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?


1 Answer 1


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, 2018 at 22:07

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