PyPlateX
High-Performance Scalable ANPR Package: Ready-to-Use, Simple, and Efficient License Plate Recognition
Unlock top-tier accuracy and scalability with cutting-edge ANPR solution in 3 line of code. Designed for seamless integration and ease of use, it delivers robust performance and reliability for all your license plate recognition needs.
Simple ready to use ANPR
Note: The ANPR.detect function is asynchronous, so ensure you use the await keyword when calling it within an async function.
Install from pypi.org
pip install pyplatex
from pyplatex import ANPR
anpr = ANPR()
det = await anpr.detect('./demo/plate-1.jpg')
print(det)
or
from pyplatex import ANPR
import asyncio
async def main():
anpr = ANPR()
plates = await anpr.detect('./demo/plate-1.jpg')
print(plates)
# Run the async main function
asyncio.run(main())
the output would be like
{
'is_plate': True,
'is_plate_confidence': 0.78,
'plate_number': 'MUN389',
'plate_number_confidence': 1.0
}
Args for anpr.detect()
| Parameter | Default Value | Description |
|---|---|---|
image_path |
None | Path to the image file to be processed. |
max_detections |
1 | Maximum number of license plates to detect in the image. |
confidence |
0.6 | Confidence threshold for detecting a license plate. Only detections with confidence above this value will be considered. |
save_image |
False | If True, the detected plate image will be saved to disk. |
padding |
5 | Padding around the detected license plate when saving the image. |
folder_name |
None | Directory name where the detected images will be saved. If save_image is True, this folder will be created if it does not exist. |
use_ocr |
True | If True, Optical Character Recognition (OCR) will be performed on the detected license plates. |
return_tensor |
False | If True, returns the image tensor of the detected license plates. |
verbose |
True | If True, logs detailed information during processing. |
Dev TODO:
- Release a Inital Version
- Add a plate detection model
- Read and detect Plates
- Format output
- Integrate Cv2filters
- Change Cofidence to a round number
- Add a ocr Model
- Release a Initial Version
- Add a option to accept image as Tensor / numpy array
- Add auto filters tag
This is a pre-release version; there might be some bugs. If you encounter any issues or performance-related problems, please report them here. If you'd like to contribute to this project, you can create a pull request here.
Warning: Use this pre-release with caution as it may still have unresolved issues.
Happy Coding 🚀 ...
Metadata
Release files for pyplatex 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyplatex-0.0.5.tar.gz | 5.6 MB | Without provenance | Details for pyplatex-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyplatex-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for pyplatex-0.0.5-py3-none-any.whl |
Total release size: 11.3 MB
Release files / pyplatex-0.0.5.tar.gz
| Download URL | pyplatex-0.0.5.tar.gz |
|---|---|
| Size | 5.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3d244a56124225fbe15506d7bf0a8bae7e375d28719ff26fd6a78cb21d0fb02
|
|
BLAKE2b-256 checksum How to use checksums |
20d86d6389b5081217f1cffeb93d2301aaabd470e2f820173ec3c0d270aac9ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / pyplatex-0.0.5-py3-none-any.whl
| Download URL | pyplatex-0.0.5-py3-none-any.whl |
|---|---|
| Size | 5.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e70e13eba5983005b6fdd56a0ecaa10c481a37e7ea53f5a265d9a4c6fc929be3
|
|
BLAKE2b-256 checksum How to use checksums |
0f4756dde2ee31440d24648d2450e80fc80fd0763ac40b3acc2dab3cd3d2c331
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Security for pyplatex 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.