v0.65.0
Browse filesSee https://github.com/qualcomm/ai-hub-models/releases/v0.65.0 for changelog.
LICENSE
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
The license of the original trained model can be found at https://github.com/ultralytics/ultralytics/blob/main/LICENSE.
|
README.md
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: pytorch
|
| 3 |
+
license: agpl-3.0
|
| 4 |
+
tags:
|
| 5 |
+
- real_time
|
| 6 |
+
- android
|
| 7 |
+
pipeline_tag: object-detection
|
| 8 |
+
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+

|
| 12 |
+
|
| 13 |
+
# License-Plates-Detector-Model: Optimized for Qualcomm Devices
|
| 14 |
+
|
| 15 |
+
A YOLOv8-nano object detection model fine-tuned on the UAE licence-plate dataset (Roboflow car-plate-k6xij v26). The model detects and classifies 51 object classes: digits 0-9, letters A-Z, UAE emirate region identifiers and a plate bounding-box class for the full plate region.
|
| 16 |
+
|
| 17 |
+
This is based on the implementation of License-Plates-Detector-Model found [here](https://github.com/3bdul1ah/License-Plates-Detector-Model).
|
| 18 |
+
This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.65.0/src/qai_hub_models/models/lpdm) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).
|
| 19 |
+
|
| 20 |
+
Qualcomm AI Hub Models uses [Qualcomm AI Hub Workbench](https://workbench.aihub.qualcomm.com) to compile, profile, and evaluate this model. [Sign up](https://myaccount.qualcomm.com/signup) to run these models on a hosted Qualcomm® device.
|
| 21 |
+
|
| 22 |
+
## Getting Started
|
| 23 |
+
Due to licensing restrictions, we cannot distribute pre-exported model assets for this model.
|
| 24 |
+
Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.65.0/src/qai_hub_models/models/lpdm) Python library to compile and export the model with your own:
|
| 25 |
+
- Custom weights (e.g., fine-tuned checkpoints)
|
| 26 |
+
- Custom input shapes
|
| 27 |
+
- Target device and runtime configurations
|
| 28 |
+
|
| 29 |
+
See our repository for [License-Plates-Detector-Model on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.65.0/src/qai_hub_models/models/lpdm) for usage instructions.
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
## Model Details
|
| 33 |
+
|
| 34 |
+
**Model Type:** Model_use_case.object_detection
|
| 35 |
+
|
| 36 |
+
**Model Stats:**
|
| 37 |
+
- Input resolution: 640x640
|
| 38 |
+
- License Plate Classes: Digits 0-9, Letters A-Z, UAE emirate identifiers, plate
|
| 39 |
+
- Model checkpoint: YOLOv8-N
|
| 40 |
+
- Model size (float): 11.7 MB
|
| 41 |
+
- Model size (w8a16): 3.46 MB
|
| 42 |
+
- Number of classes: 51
|
| 43 |
+
- Number of parameters: 3.04M
|
| 44 |
+
|
| 45 |
+
## Performance Summary
|
| 46 |
+
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
|
| 47 |
+
|---|---|---|---|---|---|---
|
| 48 |
+
| License-Plates-Detector-Model | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 2.524 ms | 0 - 191 MB | NPU
|
| 49 |
+
| License-Plates-Detector-Model | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 2.76 ms | 0 - 183 MB | NPU
|
| 50 |
+
| License-Plates-Detector-Model | ONNX | float | Snapdragon® X2 Elite | 2.837 ms | 5 - 5 MB | NPU
|
| 51 |
+
| License-Plates-Detector-Model | ONNX | float | Snapdragon® X Elite | 5.881 ms | 5 - 5 MB | NPU
|
| 52 |
+
| License-Plates-Detector-Model | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 9.477 ms | 5 - 195 MB | NPU
|
| 53 |
+
| License-Plates-Detector-Model | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 5.981 ms | 5 - 9 MB | NPU
|
| 54 |
+
| License-Plates-Detector-Model | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 5.595 ms | 5 - 10 MB | NPU
|
| 55 |
+
| License-Plates-Detector-Model | ONNX | float | Qualcomm® QCS8450 | 9.477 ms | 5 - 195 MB | NPU
|
| 56 |
+
| License-Plates-Detector-Model | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 6.84 ms | 5 - 8 MB | NPU
|
| 57 |
+
| License-Plates-Detector-Model | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 5.881 ms | 5 - 5 MB | NPU
|
| 58 |
+
| License-Plates-Detector-Model | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 2.76 ms | 0 - 183 MB | NPU
|
| 59 |
+
| License-Plates-Detector-Model | ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 1.748 ms | 1 - 73 MB | NPU
|
| 60 |
+
| License-Plates-Detector-Model | ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 2.342 ms | 3 - 187 MB | NPU
|
| 61 |
+
| License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.92 ms | 0 - 72 MB | NPU
|
| 62 |
+
| License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 2.127 ms | 0 - 68 MB | NPU
|
| 63 |
+
| License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® X2 Elite | 2.049 ms | 2 - 2 MB | NPU
|
| 64 |
+
| License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® X Elite | 4.881 ms | 1 - 1 MB | NPU
|
| 65 |
+
| License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® 8 Gen 1 Mobile | 5.68 ms | 3 - 95 MB | NPU
|
| 66 |
+
| License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 17.394 ms | 2 - 6 MB | NPU
|
| 67 |
+
| License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 4.071 ms | 2 - 6 MB | NPU
|
| 68 |
+
| License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 4.627 ms | 2 - 6 MB | NPU
|
| 69 |
+
| License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® QCS8450 | 5.68 ms | 3 - 95 MB | NPU
|
| 70 |
+
| License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 4.967 ms | 2 - 6 MB | NPU
|
| 71 |
+
| License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 4.881 ms | 1 - 1 MB | NPU
|
| 72 |
+
| License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 30.647 ms | 0 - 179 MB | NPU
|
| 73 |
+
| License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 6.285 ms | 3 - 177 MB | NPU
|
| 74 |
+
| License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 2.127 ms | 0 - 68 MB | NPU
|
| 75 |
+
| License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 6.285 ms | 3 - 177 MB | NPU
|
| 76 |
+
| License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 1.673 ms | 0 - 75 MB | NPU
|
| 77 |
+
| License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | 2.775 ms | 0 - 182 MB | NPU
|
| 78 |
+
| License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.716 ms | 0 - 176 MB | NPU
|
| 79 |
+
| License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 2.105 ms | 5 - 175 MB | NPU
|
| 80 |
+
| License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® X2 Elite | 2.565 ms | 5 - 5 MB | NPU
|
| 81 |
+
| License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® X Elite | 4.146 ms | 5 - 5 MB | NPU
|
| 82 |
+
| License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 7.118 ms | 5 - 188 MB | NPU
|
| 83 |
+
| License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 4.895 ms | 5 - 12 MB | NPU
|
| 84 |
+
| License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 3.778 ms | 5 - 40 MB | NPU
|
| 85 |
+
| License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® SA8775P | 5.187 ms | 0 - 169 MB | NPU
|
| 86 |
+
| License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® SA8650P | 5.187 ms | 0 - 169 MB | NPU
|
| 87 |
+
| License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® SA8255P | 5.187 ms | 0 - 169 MB | NPU
|
| 88 |
+
| License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® QCS8450 | 7.118 ms | 5 - 188 MB | NPU
|
| 89 |
+
| License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 4.954 ms | 5 - 12 MB | NPU
|
| 90 |
+
| License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 4.146 ms | 5 - 5 MB | NPU
|
| 91 |
+
| License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 2.105 ms | 5 - 175 MB | NPU
|
| 92 |
+
| License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® SA7255P | 12.694 ms | 1 - 167 MB | NPU
|
| 93 |
+
| License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® SA8295P | 7.397 ms | 0 - 156 MB | NPU
|
| 94 |
+
| License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 1.342 ms | 5 - 66 MB | NPU
|
| 95 |
+
| License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® 8 Elite Gen 6 Mobile | 1.663 ms | 5 - 180 MB | NPU
|
| 96 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.213 ms | 2 - 58 MB | NPU
|
| 97 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 1.452 ms | 2 - 62 MB | NPU
|
| 98 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 1.612 ms | 2 - 2 MB | NPU
|
| 99 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® X Elite | 3.541 ms | 2 - 2 MB | NPU
|
| 100 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® 8 Gen 1 Mobile | 3.884 ms | 2 - 76 MB | NPU
|
| 101 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 9.878 ms | 1 - 5 MB | NPU
|
| 102 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 3.101 ms | 2 - 8 MB | NPU
|
| 103 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 3.217 ms | 2 - 72 MB | NPU
|
| 104 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® SA8775P | 3.785 ms | 0 - 58 MB | NPU
|
| 105 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® SA8650P | 3.785 ms | 0 - 58 MB | NPU
|
| 106 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® SA8255P | 3.785 ms | 0 - 58 MB | NPU
|
| 107 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® QCS8450 | 3.884 ms | 2 - 76 MB | NPU
|
| 108 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 3.546 ms | 1 - 5 MB | NPU
|
| 109 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 3.541 ms | 2 - 2 MB | NPU
|
| 110 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 17.344 ms | 2 - 168 MB | NPU
|
| 111 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 4.505 ms | 2 - 164 MB | NPU
|
| 112 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 1.452 ms | 2 - 62 MB | NPU
|
| 113 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® SA7255P | 6.282 ms | 0 - 54 MB | NPU
|
| 114 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® SA8295P | 4.255 ms | 0 - 52 MB | NPU
|
| 115 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® 7 Gen 4 Mobile | 4.505 ms | 2 - 164 MB | NPU
|
| 116 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 1.299 ms | 2 - 64 MB | NPU
|
| 117 |
+
| License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | 1.804 ms | 2 - 170 MB | NPU
|
| 118 |
+
| License-Plates-Detector-Model | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.459 ms | 0 - 75 MB | NPU
|
| 119 |
+
| License-Plates-Detector-Model | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 1.769 ms | 0 - 69 MB | NPU
|
| 120 |
+
| License-Plates-Detector-Model | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 6.04 ms | 0 - 78 MB | NPU
|
| 121 |
+
| License-Plates-Detector-Model | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 4.499 ms | 0 - 15 MB | NPU
|
| 122 |
+
| License-Plates-Detector-Model | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 3.371 ms | 0 - 2 MB | NPU
|
| 123 |
+
| License-Plates-Detector-Model | TFLITE | float | Qualcomm® SA8775P | 4.698 ms | 0 - 66 MB | NPU
|
| 124 |
+
| License-Plates-Detector-Model | TFLITE | float | Qualcomm® SA8650P | 4.698 ms | 0 - 66 MB | NPU
|
| 125 |
+
| License-Plates-Detector-Model | TFLITE | float | Qualcomm® SA8255P | 4.698 ms | 0 - 66 MB | NPU
|
| 126 |
+
| License-Plates-Detector-Model | TFLITE | float | Qualcomm® QCS8450 | 6.04 ms | 0 - 78 MB | NPU
|
| 127 |
+
| License-Plates-Detector-Model | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 4.496 ms | 0 - 14 MB | NPU
|
| 128 |
+
| License-Plates-Detector-Model | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 1.769 ms | 0 - 69 MB | NPU
|
| 129 |
+
| License-Plates-Detector-Model | TFLITE | float | Qualcomm® SA7255P | 12.08 ms | 0 - 64 MB | NPU
|
| 130 |
+
| License-Plates-Detector-Model | TFLITE | float | Qualcomm® SA8295P | 6.839 ms | 0 - 52 MB | NPU
|
| 131 |
+
| License-Plates-Detector-Model | TFLITE | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 1.271 ms | 0 - 70 MB | NPU
|
| 132 |
+
| License-Plates-Detector-Model | TFLITE | float | Snapdragon® 8 Elite Gen 6 Mobile | 1.58 ms | 0 - 72 MB | NPU
|
| 133 |
+
|
| 134 |
+
## License
|
| 135 |
+
* The license for the original implementation of License-Plates-Detector-Model can be found
|
| 136 |
+
[here](https://github.com/ultralytics/ultralytics/blob/main/LICENSE).
|
| 137 |
+
|
| 138 |
+
## References
|
| 139 |
+
* [Ultralytics YOLOv8 Docs: Object Detection](https://docs.ultralytics.com/tasks/detect/)
|
| 140 |
+
* [Source Model Implementation](https://github.com/3bdul1ah/License-Plates-Detector-Model)
|
| 141 |
+
|
| 142 |
+
## Community
|
| 143 |
+
* Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
|
| 144 |
+
* For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).
|