|
Download README.md from qualcomm/License-Plates-Detector-Model: direct link, hf CLI and curl.
- Browser
- Download file 12.4 kB
-
https://huggingface.co/qualcomm/License-Plates-Detector-Model/resolve/main/README.md
- Command line
-
hf download hf://qualcomm/License-Plates-Detector-Model/README.md
-
curl -L -o README.md https://huggingface.co/qualcomm/License-Plates-Detector-Model/resolve/main/README.md
12.4 kB
| library_name: pytorch | |
| license: agpl-3.0 | |
| tags: | |
| - real_time | |
| - android | |
| pipeline_tag: object-detection | |
|  | |
| # License-Plates-Detector-Model: Optimized for Qualcomm Devices | |
| 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. | |
| This is based on the implementation of License-Plates-Detector-Model found [here](https://github.com/3bdul1ah/License-Plates-Detector-Model). | |
| 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.66.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). | |
| 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. | |
| ## Getting Started | |
| Due to licensing restrictions, we cannot distribute pre-exported model assets for this model. | |
| Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.66.0/src/qai_hub_models/models/lpdm) Python library to compile and export the model with your own: | |
| - Custom weights (e.g., fine-tuned checkpoints) | |
| - Custom input shapes | |
| - Target device and runtime configurations | |
| See our repository for [License-Plates-Detector-Model on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.66.0/src/qai_hub_models/models/lpdm) for usage instructions. | |
| ## Model Details | |
| **Model Type:** Model_use_case.object_detection | |
| **Model Stats:** | |
| - Input resolution: 640x640 | |
| - License Plate Classes: Digits 0-9, Letters A-Z, UAE emirate identifiers, plate | |
| - Model checkpoint: YOLOv8-N | |
| - Model size (float): 11.7 MB | |
| - Model size (w8a16): 3.46 MB | |
| - Number of classes: 51 | |
| - Number of parameters: 3.04M | |
| ## Performance Summary | |
| | Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit | |
| |---|---|---|---|---|---|--- | |
| | License-Plates-Detector-Model | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 2.524 ms | 0 - 191 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 2.76 ms | 0 - 183 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Snapdragon® X2 Elite | 2.837 ms | 5 - 5 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Snapdragon® X Elite | 5.881 ms | 5 - 5 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 9.477 ms | 5 - 195 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 5.981 ms | 5 - 9 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 5.595 ms | 5 - 10 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Qualcomm® QCS8450 | 9.477 ms | 5 - 195 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 6.84 ms | 5 - 8 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 5.881 ms | 5 - 5 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 2.76 ms | 0 - 183 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 1.748 ms | 1 - 73 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 2.342 ms | 3 - 187 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.92 ms | 0 - 72 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 2.127 ms | 0 - 68 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® X2 Elite | 2.049 ms | 2 - 2 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® X Elite | 4.881 ms | 1 - 1 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® 8 Gen 1 Mobile | 5.68 ms | 3 - 95 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 17.394 ms | 2 - 6 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 4.071 ms | 2 - 6 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 4.627 ms | 2 - 6 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® QCS8450 | 5.68 ms | 3 - 95 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 4.967 ms | 2 - 6 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 4.881 ms | 1 - 1 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 30.647 ms | 0 - 179 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 6.285 ms | 3 - 177 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 2.127 ms | 0 - 68 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 6.285 ms | 3 - 177 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 1.673 ms | 0 - 75 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | 2.775 ms | 0 - 182 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.716 ms | 0 - 176 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 2.105 ms | 5 - 175 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® X2 Elite | 2.565 ms | 5 - 5 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® X Elite | 4.146 ms | 5 - 5 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 7.118 ms | 5 - 188 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 4.895 ms | 5 - 12 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 3.778 ms | 5 - 40 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® SA8775P | 5.187 ms | 0 - 169 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® SA8650P | 5.187 ms | 0 - 169 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® SA8255P | 5.187 ms | 0 - 169 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® QCS8450 | 7.118 ms | 5 - 188 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 4.954 ms | 5 - 12 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 4.146 ms | 5 - 5 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 2.105 ms | 5 - 175 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® SA7255P | 12.694 ms | 1 - 167 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® SA8295P | 7.397 ms | 0 - 156 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 1.342 ms | 5 - 66 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® 8 Elite Gen 6 Mobile | 1.663 ms | 5 - 180 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.213 ms | 2 - 58 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 1.452 ms | 2 - 62 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 1.612 ms | 2 - 2 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® X Elite | 3.541 ms | 2 - 2 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® 8 Gen 1 Mobile | 3.884 ms | 2 - 76 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 9.878 ms | 1 - 5 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 3.101 ms | 2 - 8 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 3.217 ms | 2 - 72 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® SA8775P | 3.785 ms | 0 - 58 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® SA8650P | 3.785 ms | 0 - 58 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® SA8255P | 3.785 ms | 0 - 58 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® QCS8450 | 3.884 ms | 2 - 76 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 3.546 ms | 1 - 5 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 3.541 ms | 2 - 2 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 17.344 ms | 2 - 168 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 4.505 ms | 2 - 164 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 1.452 ms | 2 - 62 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® SA7255P | 6.282 ms | 0 - 54 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® SA8295P | 4.255 ms | 0 - 52 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® 7 Gen 4 Mobile | 4.505 ms | 2 - 164 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 1.299 ms | 2 - 64 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | 1.804 ms | 2 - 170 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.459 ms | 0 - 75 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 1.769 ms | 0 - 69 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 6.04 ms | 0 - 78 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 4.499 ms | 0 - 15 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 3.371 ms | 0 - 2 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Qualcomm® SA8775P | 4.698 ms | 0 - 66 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Qualcomm® SA8650P | 4.698 ms | 0 - 66 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Qualcomm® SA8255P | 4.698 ms | 0 - 66 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Qualcomm® QCS8450 | 6.04 ms | 0 - 78 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 4.496 ms | 0 - 14 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 1.769 ms | 0 - 69 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Qualcomm® SA7255P | 12.08 ms | 0 - 64 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Qualcomm® SA8295P | 6.839 ms | 0 - 52 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 1.271 ms | 0 - 70 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Snapdragon® 8 Elite Gen 6 Mobile | 1.58 ms | 0 - 72 MB | NPU | |
| ## License | |
| * The license for the original implementation of License-Plates-Detector-Model can be found | |
| [here](https://github.com/ultralytics/ultralytics/blob/main/LICENSE). | |
| ## References | |
| * [Ultralytics YOLOv8 Docs: Object Detection](https://docs.ultralytics.com/tasks/detect/) | |
| * [Source Model Implementation](https://github.com/3bdul1ah/License-Plates-Detector-Model) | |
| ## Community | |
| * Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI. | |
| * For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com). | |