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.45, ONNX Runtime 1.27.1 | Download |
| ONNX | w8a8 | Universal | QAIRT 2.45, ONNX Runtime 1.27.1 | Download |
| QNN_DLC | float | Universal | QAIRT 2.45 | Download |
| TFLITE | float | Universal | QAIRT 2.45 | Download |
| TFLITE | w8a8 | Universal | QAIRT 2.45 | 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 (detector): 20.8M
- Model size (detector) (float): 79.2 MB
- Number of parameters (recognizer): 3.84M
- Model size (recognizer) (float): 14.7 MB
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| detector | ONNX | float | Snapdragon® X2 Elite | 20.061 ms | 9 - 9 MB | NPU |
| detector | ONNX | float | Snapdragon® X Elite | 38.158 ms | 36 - 36 MB | NPU |
| detector | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 27.998 ms | 1 - 231 MB | NPU |
| detector | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 76.975 ms | 8 - 246 MB | NPU |
| detector | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 37.018 ms | 0 - 44 MB | NPU |
| detector | ONNX | float | Qualcomm® QCS8450 | 76.975 ms | 8 - 246 MB | NPU |
| detector | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 68.51 ms | 6 - 14 MB | NPU |
| detector | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 38.158 ms | 36 - 36 MB | NPU |
| detector | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 22.292 ms | 2 - 165 MB | NPU |
| detector | ONNX | float | Snapdragon® 8 Elite Mobile | 22.292 ms | 2 - 165 MB | NPU |
| detector | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 16.452 ms | 5 - 171 MB | NPU |
| detector | ONNX | w8a8 | Snapdragon® X2 Elite | 6.741 ms | 1 - 1 MB | NPU |
| detector | ONNX | w8a8 | Snapdragon® X Elite | 13.516 ms | 19 - 19 MB | NPU |
| detector | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 9.718 ms | 2 - 215 MB | NPU |
| detector | ONNX | w8a8 | Snapdragon® 8 Gen 1 Mobile | 19.961 ms | 2 - 216 MB | NPU |
| detector | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 13.033 ms | 0 - 25 MB | NPU |
| detector | ONNX | w8a8 | Qualcomm® QCS8450 | 19.961 ms | 2 - 216 MB | NPU |
| detector | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 13.854 ms | 1 - 4 MB | NPU |
| detector | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 13.516 ms | 19 - 19 MB | NPU |
| detector | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 7.835 ms | 2 - 161 MB | NPU |
| detector | ONNX | w8a8 | Snapdragon® 8 Elite Mobile | 7.835 ms | 2 - 161 MB | NPU |
| detector | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 5.473 ms | 0 - 164 MB | NPU |
| detector | QNN_DLC | float | Snapdragon® X2 Elite | 20.723 ms | 6 - 6 MB | NPU |
| detector | QNN_DLC | float | Snapdragon® X Elite | 39.528 ms | 6 - 6 MB | NPU |
| detector | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 27.941 ms | 5 - 236 MB | NPU |
| detector | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 81.017 ms | 6 - 257 MB | NPU |
| detector | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8275 | 269.286 ms | 0 - 170 MB | NPU |
| detector | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 38.225 ms | 6 - 186 MB | NPU |
| detector | QNN_DLC | float | Qualcomm® SA8775P | 67.977 ms | 1 - 171 MB | NPU |
| detector | QNN_DLC | float | Qualcomm® SA8650P | 67.977 ms | 1 - 171 MB | NPU |
| detector | QNN_DLC | float | Qualcomm® SA8255P | 67.977 ms | 1 - 171 MB | NPU |
| detector | QNN_DLC | float | Qualcomm® QCS8450 | 81.017 ms | 6 - 257 MB | NPU |
| detector | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 68.329 ms | 8 - 16 MB | NPU |
| detector | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 39.528 ms | 6 - 6 MB | NPU |
| detector | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 21.916 ms | 6 - 171 MB | NPU |
| detector | QNN_DLC | float | Qualcomm® SA7255P | 269.286 ms | 0 - 170 MB | NPU |
| detector | QNN_DLC | float | Qualcomm® SA8295P | 77.672 ms | 0 - 185 MB | NPU |
| detector | QNN_DLC | float | Snapdragon® 8 Elite Mobile | 21.916 ms | 6 - 171 MB | NPU |
| detector | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 16.803 ms | 6 - 184 MB | NPU |
| detector | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 28.213 ms | 1 - 262 MB | NPU |
| detector | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 81.225 ms | 3 - 287 MB | NPU |
| detector | TFLITE | float | Qualcomm® Dragonwing™ QCS8275 | 269.401 ms | 1 - 175 MB | NPU |
| detector | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 38.285 ms | 1 - 4 MB | NPU |
| detector | TFLITE | float | Qualcomm® SA8775P | 68.007 ms | 1 - 175 MB | NPU |
| detector | TFLITE | float | Qualcomm® SA8650P | 68.007 ms | 1 - 175 MB | NPU |
| detector | TFLITE | float | Qualcomm® SA8255P | 68.007 ms | 1 - 175 MB | NPU |
| detector | TFLITE | float | Qualcomm® QCS8450 | 81.225 ms | 3 - 287 MB | NPU |
| detector | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 67.861 ms | 0 - 49 MB | NPU |
| detector | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 21.922 ms | 1 - 168 MB | NPU |
| detector | TFLITE | float | Qualcomm® SA7255P | 269.401 ms | 1 - 175 MB | NPU |
| detector | TFLITE | float | Qualcomm® SA8295P | 73.839 ms | 1 - 186 MB | NPU |
| detector | TFLITE | float | Snapdragon® 8 Elite Mobile | 21.922 ms | 1 - 168 MB | NPU |
| detector | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 16.839 ms | 1 - 182 MB | NPU |
| detector | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 7.182 ms | 0 - 211 MB | NPU |
| detector | TFLITE | w8a8 | Snapdragon® 8 Gen 1 Mobile | 14.758 ms | 0 - 211 MB | NPU |
| detector | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 61.323 ms | 0 - 24 MB | NPU |
| detector | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS8275 | 35.822 ms | 0 - 154 MB | NPU |
| detector | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 9.48 ms | 0 - 3 MB | NPU |
| detector | TFLITE | w8a8 | Qualcomm® SA8775P | 10.06 ms | 0 - 158 MB | NPU |
| detector | TFLITE | w8a8 | Qualcomm® SA8650P | 10.06 ms | 0 - 158 MB | NPU |
| detector | TFLITE | w8a8 | Qualcomm® SA8255P | 10.06 ms | 0 - 158 MB | NPU |
| detector | TFLITE | w8a8 | Qualcomm® QCS8450 | 14.758 ms | 0 - 211 MB | NPU |
| detector | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 9.777 ms | 0 - 24 MB | NPU |
| detector | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 255.858 ms | 0 - 206 MB | NPU |
| detector | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 18.902 ms | 0 - 173 MB | NPU |
| detector | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 5.758 ms | 0 - 157 MB | NPU |
| detector | TFLITE | w8a8 | Qualcomm® SA7255P | 35.822 ms | 0 - 154 MB | NPU |
| detector | TFLITE | w8a8 | Qualcomm® SA8295P | 18.995 ms | 0 - 152 MB | NPU |
| detector | TFLITE | w8a8 | Snapdragon® 8 Elite Mobile | 5.758 ms | 0 - 157 MB | NPU |
| detector | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 4.47 ms | 0 - 161 MB | NPU |
| detector | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 18.902 ms | 0 - 173 MB | NPU |
| recognizer | ONNX | float | Snapdragon® X2 Elite | 12.898 ms | 1 - 1 MB | NPU |
| recognizer | ONNX | float | Snapdragon® X Elite | 20.124 ms | 11 - 11 MB | NPU |
| recognizer | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 16.516 ms | 0 - 787 MB | NPU |
| recognizer | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 27.849 ms | 1 - 347 MB | NPU |
| recognizer | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 21.883 ms | 0 - 15 MB | NPU |
| recognizer | ONNX | float | Qualcomm® QCS8450 | 27.849 ms | 1 - 347 MB | NPU |
| recognizer | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 23.647 ms | 0 - 3 MB | NPU |
| recognizer | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 20.124 ms | 11 - 11 MB | NPU |
| recognizer | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 11.927 ms | 0 - 662 MB | NPU |
| recognizer | ONNX | float | Snapdragon® 8 Elite Mobile | 11.927 ms | 0 - 662 MB | NPU |
| recognizer | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 11.683 ms | 0 - 794 MB | NPU |
| recognizer | ONNX | w8a8 | Snapdragon® X2 Elite | 9.137 ms | 1 - 1 MB | NPU |
| recognizer | ONNX | w8a8 | Snapdragon® X Elite | 10.54 ms | 10 - 10 MB | NPU |
| recognizer | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 8.004 ms | 0 - 804 MB | NPU |
| recognizer | ONNX | w8a8 | Snapdragon® 8 Gen 1 Mobile | 15.614 ms | 0 - 356 MB | NPU |
| recognizer | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 10.568 ms | 0 - 4 MB | NPU |
| recognizer | ONNX | w8a8 | Qualcomm® QCS8450 | 15.614 ms | 0 - 356 MB | NPU |
| recognizer | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 11.528 ms | 0 - 3 MB | NPU |
| recognizer | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 10.54 ms | 10 - 10 MB | NPU |
| recognizer | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 7.514 ms | 0 - 669 MB | NPU |
| recognizer | ONNX | w8a8 | Snapdragon® 8 Elite Mobile | 7.514 ms | 0 - 669 MB | NPU |
| recognizer | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 8.161 ms | 0 - 810 MB | NPU |
| recognizer | QNN_DLC | float | Snapdragon® X2 Elite | 12.863 ms | 0 - 0 MB | NPU |
| recognizer | QNN_DLC | float | Snapdragon® X Elite | 20.817 ms | 0 - 0 MB | NPU |
| recognizer | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 16.711 ms | 0 - 872 MB | NPU |
| recognizer | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 28.609 ms | 0 - 423 MB | NPU |
| recognizer | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8275 | 57.571 ms | 0 - 706 MB | NPU |
| recognizer | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 21.955 ms | 0 - 3 MB | NPU |
| recognizer | QNN_DLC | float | Qualcomm® SA8775P | 25.761 ms | 0 - 712 MB | NPU |
| recognizer | QNN_DLC | float | Qualcomm® SA8650P | 25.761 ms | 0 - 712 MB | NPU |
| recognizer | QNN_DLC | float | Qualcomm® SA8255P | 25.761 ms | 0 - 712 MB | NPU |
| recognizer | QNN_DLC | float | Qualcomm® QCS8450 | 28.609 ms | 0 - 423 MB | NPU |
| recognizer | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 27.998 ms | 0 - 2 MB | NPU |
| recognizer | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 20.817 ms | 0 - 0 MB | NPU |
| recognizer | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 12.164 ms | 0 - 717 MB | NPU |
| recognizer | QNN_DLC | float | Qualcomm® SA7255P | 57.571 ms | 0 - 706 MB | NPU |
| recognizer | QNN_DLC | float | Qualcomm® SA8295P | 31.769 ms | 0 - 349 MB | NPU |
| recognizer | QNN_DLC | float | Snapdragon® 8 Elite Mobile | 12.164 ms | 0 - 717 MB | NPU |
| recognizer | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 11.406 ms | 0 - 739 MB | NPU |
| recognizer | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 52.972 ms | 43 - 51 MB | CPU |
| recognizer | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 82.453 ms | 6 - 17 MB | CPU |
| recognizer | TFLITE | float | Qualcomm® Dragonwing™ QCS8275 | 174.548 ms | 10 - 21 MB | CPU |
| recognizer | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 60.096 ms | 6 - 8 MB | CPU |
| recognizer | TFLITE | float | Qualcomm® SA8775P | 98.521 ms | 10 - 16 MB | CPU |
| recognizer | TFLITE | float | Qualcomm® SA8650P | 98.521 ms | 10 - 16 MB | CPU |
| recognizer | TFLITE | float | Qualcomm® SA8255P | 98.521 ms | 10 - 16 MB | CPU |
| recognizer | TFLITE | float | Qualcomm® QCS8450 | 82.453 ms | 6 - 17 MB | CPU |
| recognizer | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 134.089 ms | 4 - 33 MB | CPU |
| recognizer | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 44.621 ms | 7 - 16 MB | CPU |
| recognizer | TFLITE | float | Qualcomm® SA7255P | 174.548 ms | 10 - 21 MB | CPU |
| recognizer | TFLITE | float | Qualcomm® SA8295P | 70.052 ms | 6 - 12 MB | CPU |
| recognizer | TFLITE | float | Snapdragon® 8 Elite Mobile | 44.621 ms | 7 - 16 MB | CPU |
| recognizer | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 40.477 ms | 9 - 18 MB | CPU |
| recognizer | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 32.099 ms | 5 - 15 MB | CPU |
| recognizer | TFLITE | w8a8 | Snapdragon® 8 Gen 1 Mobile | 47.901 ms | 8 - 23 MB | CPU |
| recognizer | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 166.391 ms | 3 - 22 MB | CPU |
| recognizer | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS8275 | 141.155 ms | 8 - 16 MB | CPU |
| recognizer | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 38.672 ms | 2 - 29 MB | CPU |
| recognizer | TFLITE | w8a8 | Qualcomm® SA8775P | 69.82 ms | 8 - 13 MB | CPU |
| recognizer | TFLITE | w8a8 | Qualcomm® SA8650P | 69.82 ms | 8 - 13 MB | CPU |
| recognizer | TFLITE | w8a8 | Qualcomm® SA8255P | 69.82 ms | 8 - 13 MB | CPU |
| recognizer | TFLITE | w8a8 | Qualcomm® QCS8450 | 47.901 ms | 8 - 23 MB | CPU |
| recognizer | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 97.216 ms | 3 - 22 MB | CPU |
| recognizer | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 74.125 ms | 8 - 14 MB | CPU |
| recognizer | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 58.635 ms | 8 - 15 MB | CPU |
| recognizer | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 28.81 ms | 8 - 16 MB | CPU |
| recognizer | TFLITE | w8a8 | Qualcomm® SA7255P | 141.155 ms | 8 - 16 MB | CPU |
| recognizer | TFLITE | w8a8 | Qualcomm® SA8295P | 50.012 ms | 5 - 11 MB | CPU |
| recognizer | TFLITE | w8a8 | Snapdragon® 8 Elite Mobile | 28.81 ms | 8 - 16 MB | CPU |
| recognizer | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 Mobile | 39.772 ms | 6 - 14 MB | CPU |
| recognizer | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 58.635 ms | 8 - 15 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.
