Downloads · 30 days
25
23% of all-time downloads
AXERA-TECH/Helmet-axera
Helmet-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 Axera-hed has been converted to run on the Axera NPU using w8a16 quantization. It is mainly used for detecting whether motor vehicle drivers are wearing helmets in traffic scenarios.
Downloads · 30 days
25
23% of all-time downloads
All-time downloads
108
Public
Repo size
2.2 MB
Likes
1
Public
Click a slice to open those files.
.axmodel2.2 MB · 96%
From the Hugging Face model README
This version of Axera-hed has been converted to run on the Axera NPU using w8a16 quantization. It is mainly used for detecting whether motor vehicle drivers are wearing helmets in traffic scenarios.
This model is trained to detect the following 4 classes:
Compatible with Pulsar2 version: 5.0.
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 ax_hed_infer.py --model ./AX650/ax_ax650_hel_algo_V1.0.0.axmodel --img test.jpg
root@ax650:/pcd# python3 ax_hed_infer.py --model ./AX650/ax_ax650_hel_algo_V1.0.0.axmodel --img test.jpg
[INFO] Available providers: ['AxEngineExecutionProvider']
[INFO] Using provider: AxEngineExecutionProvider
[INFO] Chip type: ChipType.MC50
[INFO] VNPU type: VNPUType.DISABLED
[INFO] Engine version: 2.10.1s
[INFO] Model type: 2 (triple core)
[INFO] Compiler version: 6.0 79a1e641
Input_name: images, Output_name: ['output0', '167']
Preprocess time: 0.38 ms
Inference time: 17.19 ms
Total detect 2 objects
0: head 0.840 [75.0, 5.0, 110.0, 47.0]
1: bike 0.844 [46.0, 113.0, 143.0, 256.0]
Output image:

