Downloads · 30 days
15
26% of all-time downloads
AXERA-TECH/Plate-axera
Plate-axera is a object detection model from AXERA-TECH. Use it when you need objects located in an image. The card lists the license as agpl-3.0.
This version of plate-axera has been converted to run on the Axera NPU using w8a16 quantization. There are two models included: 1. pld650npu3.axmodel: This model is trained to detect the license plate with label 'plat…
Downloads · 30 days
15
26% of all-time downloads
All-time downloads
58
Public
Repo size
9.1 MB
Likes
0
Public
Click a slice to open those files.
.axmodel4.3 MB · 76%
From the Hugging Face model README
This version of plate-axera has been converted to run on the Axera NPU using w8a16 quantization. There are two models included:
Detection model supports the following classes:
Recognition model supports the following characters:
{"皖沪津渝冀晋蒙辽吉黑苏浙京闽赣鲁豫鄂湘粤桂琼川贵云藏陕甘青宁新警学港澳台使领挂OABCDEFGHJKLMNPQRSTUVWXYZ0123456789"}
Recognition model supports the following colors:
['blue', 'green', 'yellow', 'white', 'black']
Compatible with Pulsar2 version: 5.2.
For those who are interested in model conversion, you can try to export axmodel through:
https://docs.m5stack.com/zh_CN/ai_hardware/AI_Pyramid-Pro
Download all files from this repository to the device.
https://github.com/AXERA-TECH/pyaxengine
wget https://github.com/AXERA-TECH/pyaxengine/releases/download/0.1.3.rc2/axengine-0.1.3-py3-none-any.whl
pip install axengine-0.1.3-py3-none-any.whl
Input image:

run
python3 axmodel_infer_pld.py
root@ax650:~/plate-axera# python3 axmodel_infer_pld.py
[INFO] Available providers: ['AxEngineExecutionProvider', 'AXCLRTExecutionProvider']
[INFO] Using provider: AxEngineExecutionProvider
[INFO] Chip type: ChipType.MC50
[INFO] VNPU type: VNPUType.DISABLED
[INFO] Engine version: 2.12.0s
[INFO] Model type: 2 (triple core)
[INFO] Compiler version: 5.2 eccb31f5
class: plate left:597 top:417 right:759 bottom:475 conf: 88%
Output image:

Input image:

run
python3 axmodel_infer_plr.py
root@ax650:~/plate-axera# python3 axmodel_infer_plr.py
[INFO] Available providers: ['AxEngineExecutionProvider', 'AXCLRTExecutionProvider']
[INFO] Using provider: AxEngineExecutionProvider
[INFO] Chip type: ChipType.MC50
[INFO] VNPU type: VNPUType.DISABLED
[INFO] Engine version: 2.12.0s
[INFO] Model type: 2 (triple core)
[INFO] Compiler version: 5.2 eccb31f5
Plate: [苏A8A68Y], score: 0.9997, color: [blue], score:1.0000
Input image:

run
python3 axmodel_infer_plate_end2end.py
root@ax650:~/plate-axera# python3 axmodel_infer_plate_end2end.py
[INFO] Available providers: ['AxEngineExecutionProvider', 'AXCLRTExecutionProvider']
[INFO] Using provider: AxEngineExecutionProvider
[INFO] Chip type: ChipType.MC50
[INFO] VNPU type: VNPUType.DISABLED
[INFO] Engine version: 2.12.0s
[INFO] Model type: 2 (triple core)
[INFO] Compiler version: 5.2 eccb31f5
[INFO] Using provider: AxEngineExecutionProvider
[INFO] Model type: 2 (triple core)
[INFO] Compiler version: 5.2 eccb31f5
Det---class:[plate], bbox:[597,417,759,475], conf:0.88
Rec---Plate:[川A2E7V7], score:0.9991, color:[blue], score:1.0000
Result saved to: ./plate_end2end_res.jpg
Output image:
