YOLOv8-Detection / README.md
qaihm-bot's picture
v0.32.0
8d5e7cf verified
|
raw
history blame
12.3 kB
---
library_name: pytorch
license: other
tags:
- real_time
- android
pipeline_tag: object-detection
---
![](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/yolov8_det/web-assets/model_demo.png)
# YOLOv8-Detection: Optimized for Mobile Deployment
## Real-time object detection optimized for mobile and edge by Ultralytics
Ultralytics YOLOv8 is a machine learning model that predicts bounding boxes and classes of objects in an image.
This model is an implementation of YOLOv8-Detection found [here](https://github.com/ultralytics/ultralytics/tree/main/ultralytics/models/yolo/detect).
More details on model performance across various devices, can be found [here](https://aihub.qualcomm.com/models/yolov8_det).
### Model Details
- **Model Type:** Model_use_case.object_detection
- **Model Stats:**
- Model checkpoint: YOLOv8-N
- Input resolution: 640x640
- Number of parameters: 3.18M
- Model size (float): 12.2 MB
- Model size (w8a8): 3.25 MB
- Model size (w8a16): 3.60 MB
| Model | Precision | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit | Target Model
|---|---|---|---|---|---|---|---|---|
| YOLOv8-Detection | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 16.523 ms | 0 - 40 MB | NPU | -- |
| YOLOv8-Detection | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN_DLC | 13.669 ms | 3 - 98 MB | NPU | -- |
| YOLOv8-Detection | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 8.449 ms | 0 - 38 MB | NPU | -- |
| YOLOv8-Detection | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN_DLC | 8.269 ms | 5 - 44 MB | NPU | -- |
| YOLOv8-Detection | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 5.639 ms | 0 - 22 MB | NPU | -- |
| YOLOv8-Detection | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN_DLC | 3.551 ms | 0 - 54 MB | NPU | -- |
| YOLOv8-Detection | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 7.189 ms | 0 - 40 MB | NPU | -- |
| YOLOv8-Detection | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN_DLC | 5.212 ms | 2 - 120 MB | NPU | -- |
| YOLOv8-Detection | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 16.523 ms | 0 - 40 MB | NPU | -- |
| YOLOv8-Detection | float | SA7255P ADP | Qualcomm® SA7255P | QNN_DLC | 13.669 ms | 3 - 98 MB | NPU | -- |
| YOLOv8-Detection | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 5.857 ms | 0 - 20 MB | NPU | -- |
| YOLOv8-Detection | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN_DLC | 3.551 ms | 0 - 55 MB | NPU | -- |
| YOLOv8-Detection | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 9.577 ms | 0 - 27 MB | NPU | -- |
| YOLOv8-Detection | float | SA8295P ADP | Qualcomm® SA8295P | QNN_DLC | 7.248 ms | 3 - 34 MB | NPU | -- |
| YOLOv8-Detection | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 5.728 ms | 0 - 21 MB | NPU | -- |
| YOLOv8-Detection | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN_DLC | 3.543 ms | 0 - 67 MB | NPU | -- |
| YOLOv8-Detection | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 7.189 ms | 0 - 40 MB | NPU | -- |
| YOLOv8-Detection | float | SA8775P ADP | Qualcomm® SA8775P | QNN_DLC | 5.212 ms | 2 - 120 MB | NPU | -- |
| YOLOv8-Detection | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 5.766 ms | 0 - 21 MB | NPU | -- |
| YOLOv8-Detection | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN_DLC | 3.544 ms | 0 - 61 MB | NPU | -- |
| YOLOv8-Detection | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 5.435 ms | 0 - 52 MB | NPU | -- |
| YOLOv8-Detection | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 4.131 ms | 0 - 52 MB | NPU | -- |
| YOLOv8-Detection | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN_DLC | 2.659 ms | 5 - 227 MB | NPU | -- |
| YOLOv8-Detection | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 3.774 ms | 1 - 181 MB | NPU | -- |
| YOLOv8-Detection | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 4.038 ms | 0 - 48 MB | NPU | -- |
| YOLOv8-Detection | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN_DLC | 2.429 ms | 5 - 120 MB | NPU | -- |
| YOLOv8-Detection | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 3.759 ms | 5 - 92 MB | NPU | -- |
| YOLOv8-Detection | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN_DLC | 4.22 ms | 5 - 5 MB | NPU | -- |
| YOLOv8-Detection | float | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 5.937 ms | 5 - 5 MB | NPU | -- |
| YOLOv8-Detection | w8a16 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN_DLC | 6.927 ms | 1 - 31 MB | NPU | -- |
| YOLOv8-Detection | w8a16 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN_DLC | 4.142 ms | 2 - 43 MB | NPU | -- |
| YOLOv8-Detection | w8a16 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN_DLC | 3.505 ms | 2 - 13 MB | NPU | -- |
| YOLOv8-Detection | w8a16 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN_DLC | 4.038 ms | 2 - 32 MB | NPU | -- |
| YOLOv8-Detection | w8a16 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | QNN_DLC | 13.722 ms | 2 - 37 MB | NPU | -- |
| YOLOv8-Detection | w8a16 | SA7255P ADP | Qualcomm® SA7255P | QNN_DLC | 6.927 ms | 1 - 31 MB | NPU | -- |
| YOLOv8-Detection | w8a16 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN_DLC | 3.511 ms | 2 - 12 MB | NPU | -- |
| YOLOv8-Detection | w8a16 | SA8295P ADP | Qualcomm® SA8295P | QNN_DLC | 4.766 ms | 2 - 34 MB | NPU | -- |
| YOLOv8-Detection | w8a16 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN_DLC | 3.471 ms | 2 - 13 MB | NPU | -- |
| YOLOv8-Detection | w8a16 | SA8775P ADP | Qualcomm® SA8775P | QNN_DLC | 4.038 ms | 2 - 32 MB | NPU | -- |
| YOLOv8-Detection | w8a16 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN_DLC | 3.5 ms | 2 - 13 MB | NPU | -- |
| YOLOv8-Detection | w8a16 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 9.309 ms | 3 - 23 MB | NPU | -- |
| YOLOv8-Detection | w8a16 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN_DLC | 2.336 ms | 2 - 43 MB | NPU | -- |
| YOLOv8-Detection | w8a16 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 6.749 ms | 2 - 78 MB | NPU | -- |
| YOLOv8-Detection | w8a16 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN_DLC | 1.993 ms | 2 - 37 MB | NPU | -- |
| YOLOv8-Detection | w8a16 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 5.965 ms | 2 - 78 MB | NPU | -- |
| YOLOv8-Detection | w8a16 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN_DLC | 4.116 ms | 9 - 9 MB | NPU | -- |
| YOLOv8-Detection | w8a16 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 10.049 ms | 1 - 1 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 3.304 ms | 0 - 20 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN_DLC | 3.323 ms | 1 - 24 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 1.642 ms | 0 - 36 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN_DLC | 1.757 ms | 1 - 38 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 1.519 ms | 0 - 15 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN_DLC | 1.517 ms | 1 - 12 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 1.89 ms | 0 - 22 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN_DLC | 1.927 ms | 1 - 26 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | TFLITE | 3.83 ms | 0 - 29 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | QNN_DLC | 5.085 ms | 1 - 32 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | RB5 (Proxy) | Qualcomm® QCS8250 (Proxy) | TFLITE | 49.411 ms | 3 - 19 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 3.304 ms | 0 - 20 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | SA7255P ADP | Qualcomm® SA7255P | QNN_DLC | 3.323 ms | 1 - 24 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 1.508 ms | 0 - 14 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN_DLC | 1.51 ms | 0 - 10 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 2.32 ms | 0 - 27 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | SA8295P ADP | Qualcomm® SA8295P | QNN_DLC | 2.332 ms | 1 - 27 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 1.495 ms | 0 - 15 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN_DLC | 1.519 ms | 1 - 12 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 1.89 ms | 0 - 22 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | SA8775P ADP | Qualcomm® SA8775P | QNN_DLC | 1.927 ms | 1 - 26 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 1.495 ms | 0 - 15 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN_DLC | 1.515 ms | 1 - 12 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 5.35 ms | 0 - 26 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 0.982 ms | 0 - 36 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN_DLC | 1.027 ms | 1 - 39 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 3.941 ms | 0 - 89 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 0.906 ms | 0 - 25 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN_DLC | 0.881 ms | 1 - 32 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 2.828 ms | 1 - 78 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN_DLC | 1.802 ms | 7 - 7 MB | NPU | -- |
| YOLOv8-Detection | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 5.93 ms | 0 - 0 MB | NPU | -- |
## License
* The license for the original implementation of YOLOv8-Detection can be found
[here](https://github.com/ultralytics/ultralytics/blob/main/LICENSE).
* The license for the compiled assets for on-device deployment 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/ultralytics/ultralytics/tree/main/ultralytics/models/yolo/detect)
## Community
* Join [our AI Hub Slack community](https://qualcomm-ai-hub.slack.com/join/shared_invite/zt-2d5zsmas3-Sj0Q9TzslueCjS31eXG2UA#/shared-invite/email) 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).
## Usage and Limitations
Model may not be used for or in connection with any of the following applications:
- Accessing essential private and public services and benefits;
- Administration of justice and democratic processes;
- Assessing or recognizing the emotional state of a person;
- Biometric and biometrics-based systems, including categorization of persons based on sensitive characteristics;
- Education and vocational training;
- Employment and workers management;
- Exploitation of the vulnerabilities of persons resulting in harmful behavior;
- General purpose social scoring;
- Law enforcement;
- Management and operation of critical infrastructure;
- Migration, asylum and border control management;
- Predictive policing;
- Real-time remote biometric identification in public spaces;
- Recommender systems of social media platforms;
- Scraping of facial images (from the internet or otherwise); and/or
- Subliminal manipulation