EasyOCR: Optimized for Qualcomm Devices
EasyOCR is a machine learning model that can recognize text in images. It supports 80+ supported languages and all popular writing scripts.
This is based on the implementation of EasyOCR found here. This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the Qualcomm® AI Hub Models library to export with custom configurations. More details on model performance across various devices, can be found here.
Qualcomm AI Hub Models uses Qualcomm AI Hub Workbench to compile, profile, and evaluate this model. Sign up to run these models on a hosted Qualcomm® device.
Getting Started
There are two ways to deploy this model on your device:
Option 1: Download Pre-Exported Models
Below are pre-exported model assets ready for deployment.
| Runtime | Precision | Chipset | SDK Versions | Download |
|---|---|---|---|---|
| ONNX | float | Universal | QAIRT 2.42, ONNX Runtime 1.24.1 | Download |
| ONNX | w8a8 | Universal | QAIRT 2.42, ONNX Runtime 1.24.1 | Download |
| QNN_DLC | float | Universal | QAIRT 2.43 | Download |
| TFLITE | float | Universal | QAIRT 2.43, TFLite 2.17.0 | Download |
| TFLITE | w8a8 | Universal | QAIRT 2.43, TFLite 2.17.0 | Download |
For more device-specific assets and performance metrics, visit EasyOCR on Qualcomm® AI Hub.
Option 2: Export with Custom Configurations
Use the Qualcomm® AI Hub Models 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
This option is ideal if you need to customize the model beyond the default configuration provided here.
See our repository for EasyOCR on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.image_to_text
Model Stats:
- Model checkpoint: easyocr-small-stage1
- Input resolution: 608x800
- Number of parameters (EasyOCRDetector): 20.8M
- Model size (EasyOCRDetector) (float): 79.2 MB
- Number of parameters (EasyOCRRecognizer): 3.84M
- Model size (EasyOCRRecognizer) (float): 14.7 MB
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| EasyOCRDetector | ONNX | float | Snapdragon® X2 Elite | 19.979 ms | 36 - 36 MB | NPU |
| EasyOCRDetector | ONNX | float | Snapdragon® X Elite | 38.162 ms | 35 - 35 MB | NPU |
| EasyOCRDetector | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 27.363 ms | 3 - 236 MB | NPU |
| EasyOCRDetector | ONNX | float | Qualcomm® QCS8550 (Proxy) | 37.435 ms | 0 - 44 MB | NPU |
| EasyOCRDetector | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 21.896 ms | 3 - 169 MB | NPU |
| EasyOCRDetector | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 16.171 ms | 1 - 173 MB | NPU |
| EasyOCRDetector | ONNX | w8a8 | Snapdragon® X2 Elite | 6.722 ms | 20 - 20 MB | NPU |
| EasyOCRDetector | ONNX | w8a8 | Snapdragon® X Elite | 13.669 ms | 19 - 19 MB | NPU |
| EasyOCRDetector | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 9.728 ms | 2 - 216 MB | NPU |
| EasyOCRDetector | ONNX | w8a8 | Qualcomm® QCS6490 | 957.192 ms | 223 - 242 MB | CPU |
| EasyOCRDetector | ONNX | w8a8 | Qualcomm® QCS8550 (Proxy) | 13.054 ms | 1 - 3 MB | NPU |
| EasyOCRDetector | ONNX | w8a8 | Qualcomm® QCM6690 | 930.787 ms | 229 - 236 MB | CPU |
| EasyOCRDetector | ONNX | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 7.74 ms | 2 - 164 MB | NPU |
| EasyOCRDetector | ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 915.183 ms | 237 - 245 MB | CPU |
| EasyOCRDetector | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 5.364 ms | 0 - 161 MB | NPU |
| EasyOCRDetector | QNN_DLC | float | Snapdragon® X2 Elite | 21.417 ms | 6 - 6 MB | NPU |
| EasyOCRDetector | QNN_DLC | float | Snapdragon® X Elite | 41.107 ms | 6 - 6 MB | NPU |
| EasyOCRDetector | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 29.14 ms | 6 - 243 MB | NPU |
| EasyOCRDetector | QNN_DLC | float | Qualcomm® QCS8275 (Proxy) | 275.615 ms | 1 - 163 MB | NPU |
| EasyOCRDetector | QNN_DLC | float | Qualcomm® QCS8550 (Proxy) | 39.757 ms | 6 - 8 MB | NPU |
| EasyOCRDetector | QNN_DLC | float | Qualcomm® SA8775P | 70.65 ms | 2 - 164 MB | NPU |
| EasyOCRDetector | QNN_DLC | float | Qualcomm® QCS8450 (Proxy) | 79.648 ms | 6 - 259 MB | NPU |
| EasyOCRDetector | QNN_DLC | float | Qualcomm® SA7255P | 275.615 ms | 1 - 163 MB | NPU |
| EasyOCRDetector | QNN_DLC | float | Qualcomm® SA8295P | 75.552 ms | 0 - 180 MB | NPU |
| EasyOCRDetector | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 23.061 ms | 6 - 167 MB | NPU |
| EasyOCRDetector | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 17.127 ms | 6 - 171 MB | NPU |
| EasyOCRDetector | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 27.447 ms | 1 - 249 MB | NPU |
| EasyOCRDetector | TFLITE | float | Qualcomm® QCS8275 (Proxy) | 270.965 ms | 1 - 171 MB | NPU |
| EasyOCRDetector | TFLITE | float | Qualcomm® QCS8550 (Proxy) | 37.226 ms | 1 - 3 MB | NPU |
| EasyOCRDetector | TFLITE | float | Qualcomm® SA8775P | 68.018 ms | 1 - 172 MB | NPU |
| EasyOCRDetector | TFLITE | float | Qualcomm® QCS9075 | 70.001 ms | 0 - 49 MB | NPU |
| EasyOCRDetector | TFLITE | float | Qualcomm® QCS8450 (Proxy) | 77.59 ms | 1 - 252 MB | NPU |
| EasyOCRDetector | TFLITE | float | Qualcomm® SA7255P | 270.965 ms | 1 - 171 MB | NPU |
| EasyOCRDetector | TFLITE | float | Qualcomm® SA8295P | 73.95 ms | 1 - 179 MB | NPU |
| EasyOCRDetector | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 21.928 ms | 1 - 172 MB | NPU |
| EasyOCRDetector | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 16.269 ms | 1 - 173 MB | NPU |
| EasyOCRDetector | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 7.212 ms | 0 - 212 MB | NPU |
| EasyOCRDetector | TFLITE | w8a8 | Qualcomm® QCS6490 | 50.848 ms | 0 - 24 MB | NPU |
| EasyOCRDetector | TFLITE | w8a8 | Qualcomm® QCS8275 (Proxy) | 35.985 ms | 0 - 155 MB | NPU |
| EasyOCRDetector | TFLITE | w8a8 | Qualcomm® QCS8550 (Proxy) | 9.731 ms | 0 - 2 MB | NPU |
| EasyOCRDetector | TFLITE | w8a8 | Qualcomm® SA8775P | 11.062 ms | 0 - 156 MB | NPU |
| EasyOCRDetector | TFLITE | w8a8 | Qualcomm® QCS9075 | 11.273 ms | 0 - 24 MB | NPU |
| EasyOCRDetector | TFLITE | w8a8 | Qualcomm® QCM6690 | 246.849 ms | 0 - 211 MB | NPU |
| EasyOCRDetector | TFLITE | w8a8 | Qualcomm® QCS8450 (Proxy) | 14.96 ms | 0 - 211 MB | NPU |
| EasyOCRDetector | TFLITE | w8a8 | Qualcomm® SA7255P | 35.985 ms | 0 - 155 MB | NPU |
| EasyOCRDetector | TFLITE | w8a8 | Qualcomm® SA8295P | 19.325 ms | 0 - 153 MB | NPU |
| EasyOCRDetector | TFLITE | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 5.835 ms | 0 - 157 MB | NPU |
| EasyOCRDetector | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 19.161 ms | 0 - 174 MB | NPU |
| EasyOCRDetector | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 4.416 ms | 0 - 158 MB | NPU |
| EasyOCRRecognizer | ONNX | float | Snapdragon® X2 Elite | 11.925 ms | 13 - 13 MB | NPU |
| EasyOCRRecognizer | ONNX | float | Snapdragon® X Elite | 16.196 ms | 11 - 11 MB | NPU |
| EasyOCRRecognizer | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 12.365 ms | 0 - 766 MB | NPU |
| EasyOCRRecognizer | ONNX | float | Qualcomm® QCS8550 (Proxy) | 16.4 ms | 0 - 17 MB | NPU |
| EasyOCRRecognizer | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 10.17 ms | 0 - 636 MB | NPU |
| EasyOCRRecognizer | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 10.467 ms | 0 - 791 MB | NPU |
| EasyOCRRecognizer | ONNX | w8a8 | Snapdragon® X2 Elite | 10.773 ms | 14 - 14 MB | NPU |
| EasyOCRRecognizer | ONNX | w8a8 | Snapdragon® X Elite | 12.304 ms | 10 - 10 MB | NPU |
| EasyOCRRecognizer | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 8.897 ms | 2 - 864 MB | NPU |
| EasyOCRRecognizer | ONNX | w8a8 | Qualcomm® QCS6490 | 122.088 ms | 24 - 28 MB | CPU |
| EasyOCRRecognizer | ONNX | w8a8 | Qualcomm® QCS8550 (Proxy) | 12.036 ms | 0 - 16 MB | NPU |
| EasyOCRRecognizer | ONNX | w8a8 | Qualcomm® QCM6690 | 55.3 ms | 19 - 25 MB | CPU |
| EasyOCRRecognizer | ONNX | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 8.297 ms | 1 - 699 MB | NPU |
| EasyOCRRecognizer | ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 41.37 ms | 26 - 33 MB | CPU |
| EasyOCRRecognizer | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 9.257 ms | 1 - 873 MB | NPU |
| EasyOCRRecognizer | QNN_DLC | float | Snapdragon® X2 Elite | 12.58 ms | 0 - 0 MB | NPU |
| EasyOCRRecognizer | QNN_DLC | float | Snapdragon® X Elite | 16.344 ms | 0 - 0 MB | NPU |
| EasyOCRRecognizer | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 12.475 ms | 0 - 787 MB | NPU |
| EasyOCRRecognizer | QNN_DLC | float | Qualcomm® QCS8275 (Proxy) | 47.879 ms | 0 - 669 MB | NPU |
| EasyOCRRecognizer | QNN_DLC | float | Qualcomm® QCS8550 (Proxy) | 16.537 ms | 0 - 3 MB | NPU |
| EasyOCRRecognizer | QNN_DLC | float | Qualcomm® SA8775P | 21.17 ms | 0 - 672 MB | NPU |
| EasyOCRRecognizer | QNN_DLC | float | Qualcomm® QCS8450 (Proxy) | 21.957 ms | 0 - 393 MB | NPU |
| EasyOCRRecognizer | QNN_DLC | float | Qualcomm® SA7255P | 47.879 ms | 0 - 669 MB | NPU |
| EasyOCRRecognizer | QNN_DLC | float | Qualcomm® SA8295P | 24.885 ms | 0 - 335 MB | NPU |
| EasyOCRRecognizer | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 10.522 ms | 0 - 674 MB | NPU |
| EasyOCRRecognizer | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 10.47 ms | 0 - 721 MB | NPU |
| EasyOCRRecognizer | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 75.176 ms | 6 - 14 MB | CPU |
| EasyOCRRecognizer | TFLITE | float | Qualcomm® QCS8275 (Proxy) | 338.706 ms | 8 - 19 MB | CPU |
| EasyOCRRecognizer | TFLITE | float | Qualcomm® QCS8550 (Proxy) | 75.46 ms | 6 - 42 MB | CPU |
| EasyOCRRecognizer | TFLITE | float | Qualcomm® SA8775P | 168.68 ms | 11 - 17 MB | CPU |
| EasyOCRRecognizer | TFLITE | float | Qualcomm® QCS9075 | 135.212 ms | 4 - 33 MB | CPU |
| EasyOCRRecognizer | TFLITE | float | Qualcomm® QCS8450 (Proxy) | 94.284 ms | 12 - 23 MB | CPU |
| EasyOCRRecognizer | TFLITE | float | Qualcomm® SA7255P | 338.706 ms | 8 - 19 MB | CPU |
| EasyOCRRecognizer | TFLITE | float | Qualcomm® SA8295P | 118.905 ms | 7 - 13 MB | CPU |
| EasyOCRRecognizer | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 79.754 ms | 7 - 16 MB | CPU |
| EasyOCRRecognizer | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 54.1 ms | 10 - 21 MB | CPU |
| EasyOCRRecognizer | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 55.28 ms | 5 - 15 MB | CPU |
| EasyOCRRecognizer | TFLITE | w8a8 | Qualcomm® QCS6490 | 164.117 ms | 3 - 22 MB | CPU |
| EasyOCRRecognizer | TFLITE | w8a8 | Qualcomm® QCS8275 (Proxy) | 336.208 ms | 3 - 12 MB | CPU |
| EasyOCRRecognizer | TFLITE | w8a8 | Qualcomm® QCS8550 (Proxy) | 55.245 ms | 4 - 22 MB | CPU |
| EasyOCRRecognizer | TFLITE | w8a8 | Qualcomm® SA8775P | 137.142 ms | 8 - 13 MB | CPU |
| EasyOCRRecognizer | TFLITE | w8a8 | Qualcomm® QCS9075 | 105.533 ms | 3 - 22 MB | CPU |
| EasyOCRRecognizer | TFLITE | w8a8 | Qualcomm® QCM6690 | 157.867 ms | 7 - 14 MB | CPU |
| EasyOCRRecognizer | TFLITE | w8a8 | Qualcomm® QCS8450 (Proxy) | 65.453 ms | 6 - 16 MB | CPU |
| EasyOCRRecognizer | TFLITE | w8a8 | Qualcomm® SA7255P | 336.208 ms | 3 - 12 MB | CPU |
| EasyOCRRecognizer | TFLITE | w8a8 | Qualcomm® SA8295P | 99.713 ms | 6 - 12 MB | CPU |
| EasyOCRRecognizer | TFLITE | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 66.097 ms | 7 - 16 MB | CPU |
| EasyOCRRecognizer | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 95.481 ms | 14 - 21 MB | CPU |
| EasyOCRRecognizer | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 40.888 ms | 9 - 20 MB | CPU |
License
- The license for the original implementation of EasyOCR can be found here.
References
Community
- Join our AI Hub Slack community to collaborate, post questions and learn more about on-device AI.
- For questions or feedback please reach out to us.
