A Python library for license plate detection and recognition
Project description
PlateRecognizePy
PlateRecognizePy is a Python library for license plate detection and recognition. It provides a simple interface to process images containing license plates and extract the plate text.
Features
- License plate detection in images
- Text recognition from license plates
- Support for both Tesseract OCR and EasyOCR
- Automatic saving of original and processed images
- Logging of detection and recognition results
Installation
You can install PlateRecognizePy using pip:
pip install PlateRecognizePy
Requirements
PlateRecognizePy requires Python 3.7 or later. The main dependencies are:
For a complete list of dependencies, please refer to the setup.py
file.
Usage
Here's a simple example of how to use PlateRecognizePy:
from plate_recognize_py import process_license_plate
import cv2
# Load an image
image = cv2.imread('path/to/your/image.jpg')
# Process the image
license_plate, text = process_license_plate(image)
print(f"Detected license plate: {text}")
Contributing
Contributions to PlateRecognizePy are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- OpenCV for image processing capabilities
- Tesseract and EasyOCR for text recognition
PlateRecognizePy is developed by VJ. For any questions or support, please open an issue on the GitHub repository.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file PlateRecognizePy-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: PlateRecognizePy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9b62e12569842ed715dfccf847c3ea3ba4e4f84841778913ce891e822e9b6e7 |
|
MD5 | a91f53633fe31b010959ac149e1f9d31 |
|
BLAKE2b-256 | 3bcc90267843ea27c18a2f6861884387689035fb3f55eb402274b1feb3405f43 |