A simple License Plate Recognition (LPR) system implemented in Python using Flask, OpenCV, and TensorFlow.
This project is a real-time license plate recognition system that detects license plates from a video feed, recognizes the characters using Optical Character Recognition (OCR), validates the license plate number format, and stores the results in a MySQL database.
- Real-time video feed processing
- Object detection using TensorFlow and OpenCV
- Optical Character Recognition (OCR) for license plate number extraction
- Validation of license plate number format
- Storage of detected license plate numbers in a database
- Filtering and searching results by date and time
-
Clone the repository: git clone https://github.com/rahulbansod519/npd-systems.git
-
Navigate to the project directory
-
Install dependencies: pip install -r requirements.txt
-
Set up MySQL database:
- Create a MySQL database named
npd
. - Set the database URI in
app.py
to match your MySQL database configuration.
- Create a MySQL database named
-
Run the application: python app.py
-
Access the application in your web browser at
http://localhost:5000
.
- Start the application.
- Upload a video file or use the provided sample video.
- The application will process the video feed, detect license plates, and store the results in the database.
- View the detected license plate numbers and search/filter results as needed.