Untitled.mp4
This project is a vehicle plate recognition system that utilizes the YOLO model for vehicle plate detection. It is built using OpenCV, Python, TensorFlow, and Keras. The system is designed to detect license plates on vehicles, enabling automated plate recognition for various applications.
- Utilizes the YOLO (You Only Look Once) model for accurate and efficient vehicle plate detection.
- Processes images or video streams to detect and extract license plate regions.
- Provides an easy-to-use interface to input images or video streams and view the detected license plates.
To set up the environment for running this project, follow these steps:
-
Clone the repository to your local machine or download the ZIP file.
-
Install the required dependencies by running the following command:
pip install opencv-python tensorflow keras pytesseract
-
The weights are stored in anpr_best.pt file
To use the vehicle plate recognition system, follow these steps:
- Ensure that you have the necessary dependencies and the pre-trained YOLO weights (see Installation section).
- Prepare the input data:
- For image-based recognition, place the input image in the project directory.
- For video-based recognition, set the video source (file path or camera index) in the
vid.py
file.
- Open the
vid.py
file in a text editor. - Adjust any necessary configurations such as confidence threshold, input image size, etc.
- Run the script.
- The script will process the input data, detect license plates using the YOLO model, extract plate regions, and perform OCR to recognize the characters.
- The detected license plates along with the recognized characters will be displayed on the screen or saved as output, depending on the configuration.
Contributions are welcome! If you encounter any issues or have ideas for improvements, open an issue or submit a pull request. Please adhere to the existing code style and clearly describe your changes.
This project relies on the following libraries and resources:
- OpenCV: Used for image and video processing.
- TensorFlow: Used for deep learning and model training.
- Keras: Used for building and training neural networks.
- PyTesseract: Used for OCR.
Special thanks to the contributors of these libraries and the creators of the YOLO model for their valuable work.
If you have any questions, suggestions, or feedback, you can reach out to the project maintainer:
- Name: Jaiparkash yadav
- Email: [email protected]
Feel free to get in touch!