Skip to main content

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 Distribution

PlateRecognizePy-0.1.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

PlateRecognizePy-0.1.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file PlateRecognizePy-0.1.1.tar.gz.

File metadata

  • Download URL: PlateRecognizePy-0.1.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.10

File hashes

Hashes for PlateRecognizePy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f487f4394654379962cb14e6e0794008b581f000ef924d31bd7c29438d718c0e
MD5 37a878bbfe00846c32f395731333fe8d
BLAKE2b-256 66b4c83991c7fc5c868707973e85d54e5365ffc32d459bb2af214dcdcee2155f

See more details on using hashes here.

File details

Details for the file PlateRecognizePy-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for PlateRecognizePy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 637f5dc4e81073ba5348fdf8bf596c69f85798df73c61083a3ebae8c26c46a71
MD5 e7499e65e352b6628f3f1b3d58a86150
BLAKE2b-256 c7541ef3ad616f3afdd01b711540ce4a5b385f684cfacc1d8932a181d5a02823

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page