A scalable and versatile ANPR package leveraging YOLO for detection and multiple OCR options to accurately recognize license plates.
Project description
PyPlateX
A scalable and versatile ANPR package leveraging YOLO for detection and multiple OCR options to accurately recognize license plates.
Simple ready to use ANPR
from pyplatex import ANPR
import asyncio
async def main():
anpr = ANPR()
plates = await anpr.detect('./typesofcarnumberplates-02-01.jpg', save_image=True)
print(plates)
# Run the async main function
asyncio.run(main())
the output will be like
{
'detected': True,
'confidence': array( 0.74661, dtype=float32),
'saved_path': 'detected_plates/cropped_plate_20240714_145500.jpg'
}
NOTE
Still cooking in the kitchen—don’t worry, we’ll let you know when it’s done and ready to serve! 🍳
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
pyplatex-0.0.2.tar.gz
(5.6 MB
view hashes)