|
Download README.md from qualcomm/License-Plates-Detector-Model: direct link, hf CLI and curl.
- Browser
- Download file 12 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 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.67.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.67.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.67.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.579 ms | 1 - 177 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 2.873 ms | 0 - 171 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Snapdragon® X2 Elite | 2.814 ms | 5 - 5 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Snapdragon® X Elite | 5.721 ms | 5 - 5 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 9.725 ms | 5 - 197 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 5.907 ms | 5 - 9 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 5.384 ms | 5 - 10 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Qualcomm® QCS8450 | 9.725 ms | 5 - 197 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 6.39 ms | 5 - 8 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 5.721 ms | 5 - 5 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 2.873 ms | 0 - 171 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 1.761 ms | 1 - 176 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 2.351 ms | 2 - 181 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.905 ms | 2 - 78 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 2.11 ms | 0 - 73 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® X2 Elite | 2.042 ms | 2 - 2 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® X Elite | 4.757 ms | 1 - 1 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® 8 Gen 1 Mobile | 5.519 ms | 3 - 97 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 16.778 ms | 2 - 6 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 3.836 ms | 0 - 4 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 4.548 ms | 2 - 86 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® QCS8450 | 5.519 ms | 3 - 97 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 4.737 ms | 2 - 6 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 4.757 ms | 1 - 1 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 30.928 ms | 3 - 183 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 6.221 ms | 3 - 178 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 2.11 ms | 0 - 73 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 6.221 ms | 3 - 178 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 1.227 ms | 2 - 74 MB | NPU | |
| | License-Plates-Detector-Model | ONNX | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | 1.76 ms | 0 - 176 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.382 ms | 0 - 66 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 1.7 ms | 5 - 72 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® X2 Elite | 2.074 ms | 5 - 5 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® X Elite | 3.576 ms | 5 - 5 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 6.032 ms | 2 - 79 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 4.128 ms | 5 - 13 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 3.191 ms | 5 - 7 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® SA8775P | 4.571 ms | 0 - 62 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® SA8650P | 4.571 ms | 0 - 62 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® SA8255P | 4.571 ms | 0 - 62 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® QCS8450 | 6.032 ms | 2 - 79 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 4.173 ms | 5 - 12 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 3.576 ms | 5 - 5 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 1.7 ms | 5 - 72 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® SA7255P | 11.865 ms | 0 - 61 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Qualcomm® SA8295P | 6.765 ms | 0 - 49 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 1.302 ms | 5 - 63 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | float | Snapdragon® 8 Elite Gen 6 Mobile | 1.52 ms | 5 - 69 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.39 ms | 2 - 65 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 1.718 ms | 2 - 65 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 1.847 ms | 2 - 2 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® X Elite | 4.18 ms | 2 - 2 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® 8 Gen 1 Mobile | 4.499 ms | 2 - 82 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 11.946 ms | 3 - 8 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 3.524 ms | 2 - 8 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 3.644 ms | 2 - 11 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 | 4.499 ms | 2 - 82 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 3.924 ms | 4 - 9 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 4.18 ms | 2 - 2 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 20.566 ms | 2 - 172 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 4.45 ms | 2 - 172 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 1.718 ms | 2 - 65 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® SA7255P | 7.112 ms | 1 - 58 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Qualcomm® SA8295P | 4.92 ms | 0 - 57 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® 7 Gen 4 Mobile | 4.45 ms | 2 - 172 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 0.897 ms | 4 - 66 MB | NPU | |
| | License-Plates-Detector-Model | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | 1.125 ms | 2 - 58 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.454 ms | 0 - 74 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 1.773 ms | 0 - 74 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 6.096 ms | 0 - 82 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 4.273 ms | 0 - 15 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 3.31 ms | 0 - 2 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Qualcomm® QCS8450 | 6.096 ms | 0 - 82 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 4.239 ms | 0 - 14 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 1.773 ms | 0 - 74 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Qualcomm® SA7255P | 49.489 ms | 2 - 29 MB | GPU | |
| | License-Plates-Detector-Model | TFLITE | float | Qualcomm® SA8295P | 6.827 ms | 0 - 54 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 1.347 ms | 0 - 66 MB | NPU | |
| | License-Plates-Detector-Model | TFLITE | float | Snapdragon® 8 Elite Gen 6 Mobile | 1.622 ms | 0 - 71 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). | |