Number Plate Recognition System. With the easy accessibility of single board computers and the rise of ease of use of Image Recognition APIs, we are now able to create highly complex systems using low computational devices. In this project, I will be creating a number plate recognition system using a Raspberry Pi and various sensors.
This project will be a simple display of how we can conduct image recognition using a small board computer, Raspberry Pi. The motion sensor, LEDs and a Raspberry Pi camera will be used in this project. Some pictures are included to give an idea of how the Image Recognition System looks like.
- Raspberry Pi (Personally I have used the Raspberry Pi 3 but can use the latest version)
- Pi Camera
- PIR motion sensor
- LEDs
- Breadboard, jumper cables
- Schematic Layout An idea of how to build the circuit
In the above picture, the circuit connections between components i.e LEDs and motion sensor. Camera is fitted in the Raspberry Pi Camera Port.
- Install MySql.
- Build a database where the car logs can be stored and the registration details are saved.
-
Now we move on to python coding.
-
mpr.py
The main objective of this is to detect motion, capture an image once the motion is detected and crop the image according to the requirements of the character recognition and translate the image into string and store it in a variable
- The 'entry' and 'exit' commands call two different programs depending on if a car is entering of exiting the premise.
- Tests with different number plate images







