{"id":19724814,"url":"https://github.com/techbyvj/platerecognizepy","last_synced_at":"2026-02-08T21:03:33.559Z","repository":{"id":257807365,"uuid":"866066789","full_name":"techbyvj/PlateRecognizePy","owner":"techbyvj","description":"License plate recognition library for python","archived":false,"fork":false,"pushed_at":"2024-10-03T14:54:18.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T17:11:04.201Z","etag":null,"topics":["anpr","easyocr","indian","lcr","license-plate-detection","license-plate-reader","license-plate-recognition","number-plate","number-plate-detection","number-plate-recognition","platerecognizepy","platerecognizer","python","tesseract-ocr"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techbyvj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-01T15:36:02.000Z","updated_at":"2025-08-26T10:56:38.000Z","dependencies_parsed_at":"2025-04-29T23:40:51.758Z","dependency_job_id":null,"html_url":"https://github.com/techbyvj/PlateRecognizePy","commit_stats":null,"previous_names":["techbyvj/platerecognizepy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/techbyvj/PlateRecognizePy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techbyvj%2FPlateRecognizePy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techbyvj%2FPlateRecognizePy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techbyvj%2FPlateRecognizePy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techbyvj%2FPlateRecognizePy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techbyvj","download_url":"https://codeload.github.com/techbyvj/PlateRecognizePy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techbyvj%2FPlateRecognizePy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29244637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T21:00:43.743Z","status":"ssl_error","status_checked_at":"2026-02-08T20:59:20.374Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anpr","easyocr","indian","lcr","license-plate-detection","license-plate-reader","license-plate-recognition","number-plate","number-plate-detection","number-plate-recognition","platerecognizepy","platerecognizer","python","tesseract-ocr"],"created_at":"2024-11-11T23:27:14.236Z","updated_at":"2026-02-08T21:03:33.541Z","avatar_url":"https://github.com/techbyvj.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PlateRecognizePy\n\nPlateRecognizePy is a Python library for license plate detection and recognition, with special support for Indian number plates. It provides a simple interface to process images containing license plates and extract the plate text.\n\n## Features\n\n- License plate detection in images using YOLOv8 (with OpenCV as fallback)\n- Text recognition from license plates\n- Support for both Tesseract OCR and EasyOCR\n- Configurable output saving and directory\n- Logging of detection and recognition results\n- Specialized support for Indian number plates:\n  - Recognition of both white and yellow plates\n  - Handling of various Indian state codes\n  - Support for both new and old format Indian plates\n\n## Installation\n\nYou can install PlateRecognizePy using pip:\n\n```\npip install PlateRecognizePy\n```\n\n## Requirements\n\nPlateRecognizePy requires Python 3.7 or later. The main dependencies are:\n\n- [pytesseract](https://pypi.org/project/pytesseract/)\n- [easyocr](https://pypi.org/project/easyocr/)\n- [opencv-python](https://pypi.org/project/opencv-python/)\n- [numpy](https://pypi.org/project/numpy/)\n- [ultralytics](https://pypi.org/project/ultralytics/)\n\nFor a complete list of dependencies, please refer to the `setup.py` file.\n\n## Usage\n\nHere's a simple example of how to use PlateRecognizePy:\n\n```python\nfrom plate_recognize_py import process_license_plate\nimport cv2\n\n# Load an image\nimage = cv2.imread('path/to/your/image.jpg')\n\n# Process the image\nconfig = {\n    'save_output': True,\n    'output_dir': 'custom_output'\n}\nlicense_plate, text = process_license_plate(image, config)\n\nprint(f\"Detected license plate: {text}\")\n```\n\nThe `process_license_plate` function now accepts an optional `config` dictionary with the following options:\n\n- `save_output`: Boolean to control whether to save the output images (default: True)\n- `output_dir`: String specifying the directory to save output images (default: 'output')\n\nFor more detailed examples and the full source code, you can check out the [License plate recognition Python](https://github.com/techbyvj/license-plate-recognition-python).\n\n### Indian Number Plate Recognition\n\nPlateRecognizePy is optimized for Indian number plates:\n\n```python\nfrom plate_recognize_py import process_indian_license_plate\nimport cv2\n\n# Load an image with an Indian number plate\nimage = cv2.imread('path/to/indian_plate_image.jpg')\n\n# Process the image\nlicense_plate, text, state = process_indian_license_plate(image)\n\nprint(f\"Detected license plate: {text}\")\nprint(f\"State: {state}\")\n```\n\nThis function works for both white and yellow Indian number plates, automatically detecting the plate color and adjusting the recognition process accordingly.\n\n## Indian Number Plate Formats\n\nPlateRecognizePy supports various Indian number plate formats:\n\n1. New Format: AA 00 AA 0000\n   Example: DL 01 CA 1234\n\n2. Old Format: AA AA 0000\n   Example: MH 12 3456\n\n3. Commercial Vehicle Format: AA 00 A 0000\n   Example: HR 55 C 7890\n\nThe library automatically detects the format and processes it accordingly.\n\n## Supported Indian State Codes\n\nPlateRecognizePy recognizes all Indian state codes, including but not limited to:\n\n- DL: Delhi\n- MH: Maharashtra\n- KA: Karnataka\n- TN: Tamil Nadu\n- UP: Uttar Pradesh\n\n## Contributing\n\nContributions to PlateRecognizePy are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- OpenCV for image processing capabilities\n- Tesseract and EasyOCR for text recognition\n- YOLOv8 for object detection\n\nPlateRecognizePy is developed by VJ. For any questions or support, please open an issue on the GitHub repository or reach out on [X (Twitter) @saidbyvj](https://x.com/saidbyvj).\n\n## Performance and Accuracy\n\nPlateRecognizePy has been tested on a wide range of Indian number plates, including:\n\n- High-resolution images\n- Low-light conditions\n- Angled or skewed plates\n- Partially obscured plates\n\nIn optimal conditions, the library achieves an accuracy rate of over 95% for Indian plates.\n\n## Limitations\n\nWhile PlateRecognizePy performs well in most scenarios, users should be aware of some limitations:\n\n- Extremely blurry or low-resolution images may yield inaccurate results\n- Severely damaged or heavily customized plates might not be recognized correctly\n- The library may struggle with non-standard fonts or highly stylized plates\n\n## Future Improvements\n\nWe are continuously working to improve PlateRecognizePy, with planned enhancements including:\n\n- Support for more international license plate formats\n- Integration with more advanced OCR technologies\n- Performance optimizations for faster processing","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechbyvj%2Fplaterecognizepy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechbyvj%2Fplaterecognizepy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechbyvj%2Fplaterecognizepy/lists"}